CVE-2024-7631
published medium CVSS 3.1 · 4.3Openshift-console: openshift console: path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | openshift-console0 through 6.0.6 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | openshift3/ose-consoleRed Hat OpenShift Container Platform 3.11 | Affected | Not stated | redhat |
| Red Hat | — | openshift4/ose-consoleRed Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250327T184518-1.1 | OPENSUSE-SU-2025:14937-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250327T184518-1.1 | OPENSUSE-SU-2025:14937-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250327T184518-1.1 | OPENSUSE-SU-2025:14937-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250327T184518-1.1 | OPENSUSE-SU-2025:14937-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openshift-console | 0 through 6.0.6 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat OpenShift Container Platform 3.11 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
3- https://access.redhat.com/security/cve/CVE-2024-7631
- RHBZ#2296053 https://bugzilla.redhat.com/show_bug.cgi?id=2296053
- https://github.com/advisories/GHSA-69x5-hjg4-m267
Provider assertions
2redhat · cna
Openshift-console: openshift console: path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4b04f5ef583582b1c880347c30537726f6d7fda621e89828557ac256154ee118
- Ingested
- 04 Nov 2026, 14:31:53 UTC
- Source record
- Official CVE record