CVE-2024-7631CWE-22path-traversal

CVE-2024-7631

Medium · published March 19, 2025

CVSS v3.1
4.3
EPSS
1%
Percentile
42.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00511 · 42.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-03-19T23:15Z
References (3)
EPSS history
Timeline
  • 19 MAR 18:47Z
    Openshift-console: openshift console: path traversal
    cvelistv5