All intelligence
// vulnerability record
live · NVDCVE-2024-7631
MEDIUMpublished 2025-03-19 19:15 UTC · 1 year ago · modified 2026-06-17 08:20 UTC
4.3
CVSS / 10
// 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.
// cvss 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
// weaknesses (CWE)
- CWE-22