CVE-2024-7631
MEDIUM4.3EPSS 0.06%OpenShift Console Has a Path Traversal Vulnerability
發布日:2025/3/19修改日:2026/3/25
描述
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.
受影響套件(2)
- Go/github.com/openshift/consolefrom 0, <= 6.0.6
- Go/github.com/openshift/consolefrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
參考連結(6)
- ADVISORYhttps://github.com/advisories/GHSA-69x5-hjg4-m267
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-7631
- PATCHhttps://github.com/openshift/console
- WEBhttps://access.redhat.com/security/cve/CVE-2024-7631
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2296053
- WEBhttps://pkg.go.dev/vuln/GO-2025-3539