CVE-2024-7631
Openshift-console: openshift console: path traversal
- Published
- Updated
- Reserved
- Assigned by
- redhat
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 sequences of ../ and valid directory paths.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.52% · top 56% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
openshift-console
- affected ≤ 6.0.6
Red Hat · Red Hat OpenShift Container Platform 3.11
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/openshift/consoleGHSA-69x5-hjg4-m267 (opens in a new tab)
What to do
Workaround: 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.
References (3)
- https://access.redhat.com/security/cve/CVE-2024-7631 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2296053 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/advisories/GHSA-69x5-hjg4-m267 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-69x5-hjg4-m267 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-7631)Record last updated .