{"id":"CVE-2024-7631","published":"2025-03-19T18:47:27Z","modified":"2026-11-04T14:25:58Z","title":"Openshift-console: openshift console: path traversal","vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00515,"percentile":0.44803,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-7631","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2296053","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/advisories/GHSA-69x5-hjg4-m267","tags":[]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":8.96},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["<= 6.0.6"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]}],"workarounds":{"items":["Red Hat Product Security does not have any recommended mitigations at this time. Please update to a patched version of the component as soon as it is available."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-19T19:07:23.057581Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openshift/console","vulnerableRanges":["<=6.0.6","all versions"],"patched":[],"from":["GHSA-69x5-hjg4-m267","GO-2025-3539"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-6761","exploited":false,"provenance":"source"}}