What’s Vulnerable › Vulnerabilities
CVE-2024-7631: Openshift-console: openshift console: path traversal
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-19 · updated 2026-09-03
- Weakness: CWE-22
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.
Affected products
- Red Hat OpenShift Container Platform 4.18: all versions
- Red Hat OpenShift Container Platform 3.11: all versions
References
- https://access.redhat.com/security/cve/CVE-2024-7631
- https://bugzilla.redhat.com/show_bug.cgi?id=2296053
- https://github.com/advisories/GHSA-69x5-hjg4-m267
Get alerted when CVE-2024-7631 or the next vulnerability affects your stack