Openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | affected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat Openshift Container Platform 5 |
|
||||||||
| Redhat | Openshift |
|
||||||||
| Redhat | Openshift Container Platform |
|
||||||||
| Redhat | Red Hat Openshift Container Platform 5 |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Red Hat
Red Hat red Hat Openshift Container Platform 5 Redhat openshift Container Platform Redhat red Hat Openshift Container Platform 5 |
|
| Vendors & Products |
Red Hat
Red Hat red Hat Openshift Container Platform 5 Redhat openshift Container Platform Redhat red Hat Openshift Container Platform 5 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Openshift-clients: openshift-clients: oc rsync pod-to-local copy can write outside the intended local destination directory | |
| First Time appeared |
Redhat
Redhat openshift |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:5 |
|
| Vendors & Products |
Redhat
Redhat openshift |
|
| References |
| |
| Metrics |
cvssV3_1
|