CVE-2019-5736 Privilege escalation in n/a
Attackers with container access can overwrite the host runc binary to gain root privileges on the host system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-5736?
CVE-2019-5736 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 11 Feb 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.
Weakness: CWE-78
Which versions are affected by CVE-2019-5736?
It affects 19 products.
Linux distribution packages (40)
oci-systemd-hook AlmaLinux:8 | All versions | 1:0.1.15-2.git2d0b8a3.module_el8.3.0+2044+12421f43 |
oci-systemd-hook AlmaLinux:8 | All versions | 1:0.1.15-2.git2d0b8a3.module_el8.4.0+2496+12421f43 |
oci-systemd-hook AlmaLinux:8 | All versions | 1:0.1.15-2.git2d0b8a3.module_el8.5.0+119+9a9ec082 |
oci-umount AlmaLinux:8 | All versions | 2:2.3.4-2.git87f9237.module_el8.3.0+2044+12421f43 |
oci-umount AlmaLinux:8 | All versions | 2:2.3.4-2.git87f9237.module_el8.4.0+2496+12421f43 |
oci-umount AlmaLinux:8 | All versions | 2:2.3.4-2.git87f9237.module_el8.5.0+119+9a9ec082 |
buildah Red Hat:enterprise_linux:8::appstream | All versions | 0:1.5-3.gite94b4f9.module+el8.0.0+2958+4e823551 |
buildah-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.5-3.gite94b4f9.module+el8.0.0+2958+4e823551 |
buildah-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:1.5-3.gite94b4f9.module+el8.0.0+2958+4e823551 |
container-selinux Red Hat:enterprise_linux:8::appstream | All versions | 2:2.94-1.git1e99f1d.module+el8.0.0+2958+4e823551 |
containernetworking-plugins Red Hat:enterprise_linux:8::appstream | All versions | 0:0.7.4-3.git9ebe139.module+el8.0.0+2958+4e823551 |
containernetworking-plugins-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:0.7.4-3.git9ebe139.module+el8.0.0+2958+4e823551 |
containernetworking-plugins-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:0.7.4-3.git9ebe139.module+el8.0.0+2958+4e823551 |
containers-common Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.32-3.git1715c90.module+el8.0.0+2958+4e823551 |
fuse-overlayfs Red Hat:enterprise_linux:8::appstream | All versions | 0:0.3-2.module+el8.0.0+2958+4e823551 |
fuse-overlayfs-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:0.3-2.module+el8.0.0+2958+4e823551 |
fuse-overlayfs-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:0.3-2.module+el8.0.0+2958+4e823551 |
oci-systemd-hook Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.15-2.git2d0b8a3.module+el8.0.0+2958+4e823551 |
oci-systemd-hook-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.15-2.git2d0b8a3.module+el8.0.0+2958+4e823551 |
oci-systemd-hook-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.15-2.git2d0b8a3.module+el8.0.0+2958+4e823551 |
oci-umount Red Hat:enterprise_linux:8::appstream | All versions | 2:2.3.4-2.git87f9237.module+el8.0.0+2958+4e823551 |
oci-umount-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 2:2.3.4-2.git87f9237.module+el8.0.0+2958+4e823551 |
oci-umount-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 2:2.3.4-2.git87f9237.module+el8.0.0+2958+4e823551 |
podman Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-2.git921f98f.module+el8.0.0+2958+4e823551 |
podman-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-2.git921f98f.module+el8.0.0+2958+4e823551 |
podman-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-2.git921f98f.module+el8.0.0+2958+4e823551 |
podman-docker Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-2.git921f98f.module+el8.0.0+2958+4e823551 |
runc Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-55.rc5.dev.git2abd837.module+el8.0.0+3049+59fd2bba |
runc-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-55.rc5.dev.git2abd837.module+el8.0.0+3049+59fd2bba |
runc-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.0-55.rc5.dev.git2abd837.module+el8.0.0+3049+59fd2bba |
skopeo Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.32-3.git1715c90.module+el8.0.0+2958+4e823551 |
skopeo-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.32-3.git1715c90.module+el8.0.0+2958+4e823551 |
skopeo-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 1:0.1.32-3.git1715c90.module+el8.0.0+2958+4e823551 |
slirp4netns Red Hat:enterprise_linux:8::appstream | All versions | 0:0.1-2.dev.gitc4e1bc5.module+el8.0.0+2958+4e823551 |
slirp4netns-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:0.1-2.dev.gitc4e1bc5.module+el8.0.0+2958+4e823551 |
slirp4netns-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:0.1-2.dev.gitc4e1bc5.module+el8.0.0+2958+4e823551 |
docker Red Hat:openshift:3.4::el7 | All versions | 2:1.12.6-79.git5680db5.el7 |
docker-client Red Hat:openshift:3.4::el7 | All versions | 2:1.12.6-79.git5680db5.el7 |
docker-common Red Hat:openshift:3.4::el7 | All versions | 2:1.12.6-79.git5680db5.el7 |
docker-debuginfo Red Hat:openshift:3.4::el7 | All versions | 2:1.12.6-79.git5680db5.el7 |
Products include Apache Mesos, Canonical Ubuntu Linux, D2iq Dc\/Os, D2iq Kubernetes Engine, Docker Docker, Fedoraproject Fedora and 13 more.
How do I fix CVE-2019-5736?
Upgrade to a fixed version.
Is CVE-2019-5736 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-5736 exists.
Public exploit code: 1 Metasploit module, 2 Exploit-DB entries and 28 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-5736, ALSA-2019:0975, CLEANSTART-2026-BP85403, DEBIAN-CVE-2019-5736, GHSA-gxmr-w5mj-v8hh, MGASA-2019-0068 and 12 more.