{"id":"CVE-2024-7631","aliases":["CVE-2024-7631","GHSA-69x5-hjg4-m267","GO-2025-3539"],"related":[],"kind":"vulnerability","state":"published","title":"Openshift-console: openshift console: path traversal","summary":"A flaw was found in the OpenShift Console, an endpoint for plugins to serve resources in multiple languages: /locales/resources.json. This endpoint's lng and ns parameters are used to construct a filepath in pkg/plugins/handlers unsafely.go#L112 Because of this unsafe filepath construction, an authenticated user can manipulate the path to retrieve any JSON files on the console's pod by using sequences of ../ and valid directory paths.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in the OpenShift Console, an endpoint for plugins to serve resources in multiple languages: /locales/resources.json. This endpoint's lng and ns parameters are used to construct a filepath in pkg/plugins/handlers unsafely.go#L112 Because of this unsafe filepath construction, an authenticated user can manipulate the path to retrieve any JSON files on the console's pod by using sequences of ../ and valid directory paths.","source":"cvelist"},{"lang":"en","text":"OpenShift Console Has a Path Traversal Vulnerability in github.com/openshift/console","format":"markdown","source":"go"},{"lang":"es","text":"Se encontró una falla en OpenShift Console, un endpoint para que los complementos proporcionen recursos en varios idiomas: /locales/resources.json. Los parámetros lng y ns de este endpoint se utilizan para construir una ruta de archivo en pkg/plugins/handlers unsafely.go#L112. Debido a esta construcción insegura de la ruta de archivo, un usuario autenticado puede manipularla para recuperar cualquier archivo JSON en el pod de la consola mediante secuencias de ../ y rutas de directorio válidas.","source":"nvd"}],"published":"2025-03-19T18:47:27.721Z","modified":"2026-11-04T15:17:20.587Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"6.0.6","status":"affected"}],"package":"openshift-console","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","package":"openshift3/ose-console","cpe":"cpe:/a:redhat:openshift:3.11","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift4/ose-console","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"6.0.6"}],"ecosystem":"Go","package":"github.com/openshift/console","purl":"pkg:golang/github.com/openshift/console","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/openshift/console","purl":"pkg:golang/github.com/openshift/console","source":"go"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-7631","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2296053","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/advisories/GHSA-69x5-hjg4-m267","tags":["advisory"],"sources":["cvelist","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7631","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/openshift/console","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3539","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-19T19:07:23.057Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-7631","url":"https://www.cve.org/CVERecord?id=CVE-2024-7631","licence":"CVE Terms of Use","modified":"2026-11-04T14:25:58.975Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-69x5-hjg4-m267","url":"https://github.com/advisories/GHSA-69x5-hjg4-m267","licence":"CC-BY-4.0","modified":"2026-03-25T21:03:49.384Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3539","url":"https://pkg.go.dev/vuln/GO-2025-3539","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:24.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-7631","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7631","licence":"Public domain","modified":"2026-11-04T15:17:20.587Z"}],"updatedAt":"2026-11-25T22:58:52.318Z","epss":{"score":0.00527,"percentile":0.46129,"date":"2026-12-01T12:00:22.000Z"}}