Path Traversal in Red Hat Openshift Container Platform 3.11
CVE-2024-7631
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.005 (38.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking)
- secalert@redhat.com
Frequently asked questions
- What is CVE-2024-7631?
- CVE-2024-7631 is a medium-severity vulnerability in Red Hat Openshift Container Platform 3.11, classified under Path Traversal. CVSS score: 4.3/10. Published 2025-03-19.
- How severe is CVE-2024-7631?
- Medium severity. CVSS v3 base score is 4.3 out of 10.