{"schema_version":"1.7.5","id":"GHSA-69x5-hjg4-m267","published":"2025-03-19T21:30:52Z","modified":"2026-03-25T21:03:49.384384Z","aliases":["CVE-2024-7631","GO-2025-3539"],"summary":"OpenShift Console Has a Path Traversal Vulnerability","details":"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.","affected":[{"package":{"name":"github.com/openshift/console","ecosystem":"Go","purl":"pkg:golang/github.com/openshift/console"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"6.0.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-69x5-hjg4-m267/GHSA-69x5-hjg4-m267.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7631"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-7631"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2296053"},{"type":"PACKAGE","url":"https://github.com/openshift/console"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-3539"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2025-03-20T18:10:13Z","nvd_published_at":"2025-03-19T19:15:43Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}