Fedora Account System
Red Hat Associate
Red Hat Customer
Reporter: PSIRTSUPT-29706 The reporter identified a path-containment issue in the OpenShift oc client's pod-to-local rsync flow. When oc rsync falls back to the tar-based copy path, crafted pod-side tar output can include entries that escape the requested local destination directory. The reporter provided shell logs showing oc rsync srcpod:/tmp/src/ /tmp/dest/ creating /tmp/should-not-be-touched/evil-from-pod.txt outside /tmp/dest/ with exit code 0 and no unsafe-path rejection. Security assessment: this is a client-side arbitrary file write/path traversal issue. The attacker must control pod-side filesystem content or tar behavior, and the victim user or automation must run oc rsync from that pod. The demonstrated impact is local file modification on the machine running oc, not OpenShift cluster privilege escalation or container escape. Suggested CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L = 6.3 Moderate. Suggested CWE: CWE-22.