CVE-2018-15664high 7.5PoC available
docker cp symlink-exchange race (host filesystem escape)
A copy handler resolves a path safely inside the container root, then a separate filesystem operation re-opens that path, so a process inside the container can swap a component for a symlink in the gap and redirect the copy onto the host as root.
- Product
- Docker Engine (Moby)
- Vendor
- Docker, Inc. / Moby project
- Affected
- Docker through 18.06.1-ce-rc2 (all released versions at disclosure)
- Fixed in
- Fixed in Moby via PR #39292 (chrootarchive always chroots to the container's own root, not the attacker-controlled destination, so a swapped symlink to "/" resolves inside the container root instead of on the host); merged 2019-06-04, shipped in Docker 18.09 (backport) and 19.03. An earlier pause-the-container patch (PR #39252, by the researcher) was proposed but not merged.
- Weakness
- CWE-367
- CVSS vector
- CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- Published
- 23 May 2019
Classified as
References
Related CVEs
- CVE-2024-50379critical 9.82024
Apache Tomcat case-folding JSP compilation race
Concurrent resource reads and writes were not serialized, so differently cased paths that resolve to one file on a case-insensitive filesystem could race Tomcat's resource metadata and let content uploaded through the default servlet be compiled as JSP.
- CVE-2019-15126low 3.12020
KrØØk: disassociation drains queued Wi-Fi frames under a zero key
Affected FullMAC firmware clears a WPA2 session's temporal key when the station disassociates but still transmits frames left in the chip's transmit queue, encrypting those frames with an all-zero key that an adjacent observer can reproduce.