Docker Engine race in docker cp lets a container write through read-only bind mounts
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Docker | Docker Engine | unaffected |
|
||||||
| Moby | Moby | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Docker | Docker Engine |
|
||||||||
| Moby | Moby |
|
Vendor Workaround
Do not copy files into running containers that run untrusted workloads. Stop the container before copying files into it. Use authorization plugins to restrict access to PUT /containers/{id}/archive.
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.201% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Docker
Docker docker Engine Moby Moby moby |
|
| Vendors & Products |
Docker
Docker docker Engine Moby Moby moby |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A race condition during docker cp mount setup in Docker Engine allows a malicious container to leave a read-only bind mount writable while an archive is extracted into the container. When copying files into a container, the daemon bind-mounts the container's volumes into a temporary view and applies the read-only flags afterwards, through a path inside the container's filesystem. A process in the container can change that path in between, so the flags are applied to a different mount and the intended bind mount stays writable for the duration of the copy. | |
| Title | Docker Engine race in docker cp lets a container write through read-only bind mounts | |
| Weaknesses | CWE-367 | |
| References |
| |
| Metrics |
cvssV4_0
|