Medium severity · published Mar 19, 2025
CVE-2024-7631
Openshift-console: openshift console: path traversal
4.3
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat OpenShift Container Platform 3.11 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat OpenShift Container Platform 4 · Red Hat
All versions, or not specified · source: vendor
Affected product
RH
Red Hat OpenShift Container Platform 3.11
Red Hat
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-7631
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-7631
access.redhat.com
https://access.redhat.com/security/cve/CVE-2024-7631
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2296053
github.com
https://github.com/advisories/GHSA-69x5-hjg4-m267
More from Red Hat OpenShift Container Platform 3.11
8.6
CVE-2024-1753
Buildah: buildah: container escape via improper bind mount validation
8.3
CVE-2024-3727
Containers/image: digest type does not guarantee valid type
8.1
CVE-2024-5154
Cri-o: malicious container can create symlink on host
7.7
CVE-2024-3056
Podman: kernel: containers in shared ipc namespace are vulnerable to denial of service attack
7.7
CVE-2024-1139
Cluster-monitoring-operator: credentials leak
