CVE-2024-7631 MEDIUM

CVE-2024-7631: Openshift-console: openshift console: path traversal

Vendor Red Hat
Product Red Hat OpenShift Container Platform 3.11
Weakness CWE-22 · Path traversal
Published March 19, 2025
Last update March 24, 2026

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 19, 2025 CVE published
March 24, 2026 Record updated