CVE-2024-7631 Details
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.
A path traversal vulnerability has been identified in the OpenShift Console's localization endpoint, '/locales/resources.json'. This vulnerability arises from the endpoint's lng and ns parameters, which are used to construct file paths in an unsafe manner. As a result, an authenticated user can manipulate the file path to access any JSON file on the console's pod by using '../' sequences and valid directory paths. However, the vulnerability is limited to files with the .json extension, and no security-impactful JSON files were found on the console's pod.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 19, 2025CISA-ADP
Assessed Mar 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2024-7631 | [email protected] | AdvisoryRemedyVendor |
| https://bugzilla.redhat.com/show_bug.cgi?id=2296053 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/advisories/GHSA-69x5-hjg4-m267 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Red Hat OpenShift Console | < 4 3.11 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2026 | CVE Modified | [email protected] |
| Mar 19, 2025 | New CVE Received | [email protected] |
Volerion