CVE-2024-7631

Openshift-console: openshift console: path traversal

Published Mar 19, 2025 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Red Hat Product Security does not have any recommended mitigations at this time. Please update to a patched version of the component as soon as it is available.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-6761 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.
Github GHSA Github GHSA GHSA-69x5-hjg4-m267 OpenShift Console Has a Path Traversal Vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Openshift-console: openshift console: path traversal
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-22
CPEs cpe:/a:redhat:openshift:3.11
cpe:/a:redhat:openshift:4
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 2:25 PM
Reserved
Aug 8, 2024, 9:18 PM
Status
Deferred
Published
Mar 19, 2025, 7:15 PM
Modified
Nov 4, 2026, 3:17 PM
Severity
Moderate
Public date
Mar 19, 2025, 5:49 PM