CVE-2024-7631 json
Openshift-console: openshift console: path traversal
published 2025-03-19 19 mo ago modified 2026-11-04 4 d ago also GHSA-69x5-hjg4-m267 , GO-2025-3539 , EUVD-2025-6761
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
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.
Patch / fix
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250327T184518-1.1
opensuse advisories openSUSE-SU-2025:14937-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-7631 updated cvss 4.3
openshift-console: OpenShift Console: Path traversal
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-console Red Hat OpenShift Container Platform 4 openshift4/ose-consoleaffected: workaround, no fix available “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.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/openshift/console | <=6.0.6 all versions |
no fix listed |
Affected products
- Red Hat Red Hat OpenShift Container Platform 3.11
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
access.redhat.com
/security/cve/CVE-2024-7631
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2296053
issue-tracking, web
-
github.com
/advisories/GHSA-69x5-hjg4-m267
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-7631
advisory
-
github.com
/openshift/console
package
-
pkg.go.dev
/vuln/GO-2025-3539
web
Sources
- CVE List CVE-2024-7631
- GitHub Advisory GHSA-69x5-hjg4-m267
- NVD CVE-2024-7631
- OSV GO-2025-3539
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.