CVE-2024-7631
MEDIUM 4.3CVSS 3.1OpenShift Console Has a Path Traversal Vulnerability
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
- 19 Mar 2025
- Last modified
- 4 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-69x5-hjg4-m267GO-2025-3539
- Sources
- NVDJSONOSV GHSA-69x5-hjg4-m267JSONOSV GO-2025-3539JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/openshift/console | <= 6.0.6 | |
| OSV | Go | github.com/openshift/console | all versions |
References
- https://access.redhat.com/security/cve/CVE-2024-7631 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2296053 · WEB
- https://github.com/advisories/GHSA-69x5-hjg4-m267 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-7631 · ADVISORY
- https://github.com/openshift/console · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3539 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 19 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Mar 2025)