CVE Catalog

CVE-2024-7631

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.50%

41th percentile - higher than 41% of all known CVEs

Summary

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.

Risk Assessment

An authenticated user can read arbitrary JSON files from the console pod, potentially leading to disclosure of sensitive information such as configurations or credentials.

Recommendation

Update OpenShift Console to a patched version. Restrict access to the endpoint for unauthorized users.

Other vulnerabilities in OpenShift Console

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS