4.3Mittel

CVE-2024-7631Openshift-console: openshift console: path traversal

openshift-console; Red Hat Red Hat OpenShift Container Platform 3.11; Red Hat Red Hat OpenShift Container Platform 4 Veröffentlicht: (vor 1 Jahr)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Red Hat Red Hat OpenShift Container Platform 3.11 all versions
Red Hat Red Hat OpenShift Container Platform 4 all versions
— openshift-console ≤ 6.0.6

Referenzen und Patches