{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7631","id":"CVE-2024-7631","title":"Openshift-console: openshift console: path traversal","description":"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 seque","descriptionLong":"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.","published":"2025-03-19T18:47:27.721Z","updated":"2026-11-05T21:16:11.132748032Z","reserved":"2024-08-08T21:18:33.908Z","status":"Deferred","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"redhat"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"redhat.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["openshift-console","Red Hat OpenShift Container Platform 3.11","Red Hat OpenShift Container Platform 4"],"affectedProducts":[{"vendor":"","product":"openshift-console","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","versionType":"semver","lessThanOrEqual":"6.0.6"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/openshift/console","purl":"pkg:golang/github.com/openshift/console","ranges":["<=6.0.6","all versions"],"fixed":[],"advisory":"GHSA-69x5-hjg4-m267"}],"cwes":["CWE-22"],"aliases":["GHSA-69x5-hjg4-m267","GO-2025-3539"],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-7631","tags":["vdb-entry","x_refsource_REDHAT","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2296053","tags":["issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://github.com/advisories/GHSA-69x5-hjg4-m267","tags":["advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7631.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7631","tags":["advisory"]},{"url":"https://github.com/openshift/console","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3539","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00515,"epssPercentile":0.4466,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7631","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7631","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7631","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-69x5-hjg4-m267","ok":true,"note":"GHSA-69x5-hjg4-m267"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7631","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}