Opis (engleski)
A flaw was found in the OpenShift oc client. When using oc rsync to copy files from a pod to a local directory, the tar-based fallback extraction path does not properly ensure that archive entries remain confined to the requested destination directory. A crafted pod-side filesystem or tar stream can include path traversal, symlink, or hardlink entries that cause oc rsync to write files outside the destination directory on the machine running the oc client. This can allow an attacker who controls the pod-side content to modify files on the client system if a user or automation runs oc rsync from that pod.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Niska
- Potrebne ovlasti
- Obični korisnik
- Interakcija korisnika
- Potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Bez utjecaja
- Integritet
- Visok utjecaj
- Dostupnost
- Nizak utjecaj
Vrsta slabosti (CWE)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Reference
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.