runc container escape via /proc/self/exe
A container runtime re-executes its own on-disk binary through /proc/self/exe to enter the sandbox, so code running in the sandbox can grab a writable handle to that binary and overwrite it, taking over the host.
- Product
- runc (Docker, containerd, CRI-O, Kubernetes)
- Vendor
- Open Container Initiative
- Affected
- runc <= 1.0-rc6 (Docker < 18.09.2, and other products bundling runc)
- Fixed in
- runc 1.0-rc7 (fix commit 0a8e4117e7f715d5fbeef398405813ce8e88558b); Docker 18.09.2; distro backports
- Weakness
- CWE-78
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Published
- 11 Feb 2019
Classified as
References
Related CVEs
- CVE-2024-9474high 7.22024
PAN-OS audit-log username command injection
The audit logger shell-escapes the message but concatenates the session username directly into a command, allowing shell metacharacters in that username to execute with root privileges.
- CVE-2024-45519critical 9.82024
Zimbra postjournal SMTP recipient command injection
The postjournal service carried the RCPT TO recipient through address expansion into read_maps, interpolated the address into a shell command, and passed the string to popen. Shell substitution syntax remained active inside the command's double quotes. The patch adds input validation and uses execvp with an argument vector.
- CVE-2023-36664high 7.82023
Ghostscript pipe-device command injection (CVE-2023-36664)
A path-permission check normalizes the target path before validating it, so a special device string that the normalizer rewrites slips past the sandbox and opens a command pipe, giving code execution from a crafted document.
- CVE-2019-10149critical 9.82019
Exim recipient-address command injection (Return of the WIZard)
The recipient address is spliced into a string that Exim's recursive expander evaluates, so a ${run{...}} carried in the local part runs a shell command as root.