Crun: crun: tmpcopyup follows a second path lookup and copies image files onto the host
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 Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 8 | affected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
| Red Hat | Red Hat Hardened Images | affected | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | unknown | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | unknown | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | unknown | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | unknown | — |
No data.
No data.
No data available yet.
Vendor Workaround
Do not give an untrusted container a writable volume that is also the destination of a tmpcopyup tmpfs. That includes Podman --read-only when the image symlinks /var/tmp into the volume, and --tmpfs pointed into the shared volume.
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 |
Redhat enterprise Linux
Redhat openshift |
|
| CPEs | cpe:/a:redhat:enterprise_linux:10 cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:9 cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:5 |
|
| Vendors & Products |
Redhat enterprise Linux
Redhat openshift |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in crun. When copying files onto a tmpfs mounted with tmpcopyup, crun opens the destination a second time by name. A container that shares a writable volume with the container being created can change that path between the two lookups, so crun copies image files onto host files, including files under /proc/sys. | |
| Title | Crun: crun: tmpcopyup follows a second path lookup and copies image files onto the host | |
| First Time appeared |
Redhat
Redhat hummingbird |
|
| Weaknesses | CWE-367 | |
| CPEs | cpe:/a:redhat:hummingbird:1 | |
| Vendors & Products |
Redhat
Redhat hummingbird |
|
| References |
| |
| Metrics |
cvssV3_1
|