CVE-2024-7631
Last modified
CVE-2024-7631 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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.. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-7631?
How severe is CVE-2024-7631?
How do I fix CVE-2024-7631?
Are you affected by CVE-2024-7631?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
