ghsa-69x5-hjg4-m267
Vulnerability from github
Published
2025-03-19 21:30
Modified
2025-03-20 18:10
Severity ?
Summary
OpenShift Console Has a Path Traversal Vulnerability
Details
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.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/openshift/console" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "6.0.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-7631" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2025-03-20T18:10:13Z", "nvd_published_at": "2025-03-19T19:15:43Z", "severity": "MODERATE" }, "details": "A flaw was found in the OpenShift Console, an endpoint for plugins to serve resources in multiple languages: /locales/resources.json. This endpoint\u0027s 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\u0027s pod by using sequences of ../ and valid directory paths.", "id": "GHSA-69x5-hjg4-m267", "modified": "2025-03-20T18:10:13Z", "published": "2025-03-19T21:30:52Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-7631" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2024-7631" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2296053" }, { "type": "PACKAGE", "url": "https://github.com/openshift/console" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "OpenShift Console Has a Path Traversal Vulnerability" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.