CVE-2019-5736
CVE-2019-5736
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
CVSS 8.6 · High · EPSS 98.5% · Public exploit · Fix available
- Published
- Updated
Stack: system · containers
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
lxc Debian:12
- Affected ranges
- ECOSYSTEM: < 1:3.1.0+really3.0.3-4
Update to 1:3.1.0+really3.0.3-4
lxc Debian:13
- Affected ranges
- ECOSYSTEM: < 1:3.1.0+really3.0.3-4
Update to 1:3.1.0+really3.0.3-4
lxc Debian:14
- Affected ranges
- ECOSYSTEM: < 1:3.1.0+really3.0.3-4
Update to 1:3.1.0+really3.0.3-4
runc Debian:12
- Affected ranges
- ECOSYSTEM: < 1.0.0~rc6+dfsg1-2
Update to 1.0.0~rc6+dfsg1-2
runc Debian:13
- Affected ranges
- ECOSYSTEM: < 1.0.0~rc6+dfsg1-2
Update to 1.0.0~rc6+dfsg1-2
runc Debian:14
- Affected ranges
- ECOSYSTEM: < 1.0.0~rc6+dfsg1-2
Update to 1.0.0~rc6+dfsg1-2
docker.io Ubuntu:16.04:LTS
- Versions
- 1.6.2~dfsg1-1ubuntu4
- 1.10.2-0ubuntu3
- 1.10.2-0ubuntu4
- 1.10.3-0ubuntu1
- 1.10.3-0ubuntu4
- 1.10.3-0ubuntu5
- 1.10.3-0ubuntu6
- 1.11.2-0ubuntu5~16.04
- 1.12.1-0ubuntu13~16.04.1
- 1.12.3-0ubuntu4~16.04.2
- 1.12.6-0ubuntu1~16.04.1
- 1.13.1-0ubuntu1~16.04.2
- 17.03.2-0ubuntu2~16.04.1
- 18.06.1-0ubuntu1~16.04.2
- Affected ranges
- ECOSYSTEM: < 18.06.1-0ubuntu1.2~16.04.1
Update to 18.06.1-0ubuntu1.2~16.04.1
runc Ubuntu:16.04:LTS
- Versions
- 0.0.8+dfsg-2
- 0.1.1-0ubuntu5~16.04
- 1.0.0~rc1-0ubuntu1~16.04
- 1.0.0~rc1-0ubuntu2~16.04.1
- 1.0.0~rc1-0ubuntu2~16.04.1.1
- 1.0.0~rc2-0ubuntu2~16.04.1
- 1.0.0~rc2+docker1.12.6-0ubuntu1~16.04.1
- Affected ranges
- ECOSYSTEM: < 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1
Update to 1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1
docker.io Ubuntu:18.04:LTS
- Versions
- 1.13.1-0ubuntu6
- 17.03.2-0ubuntu1
- 17.03.2-0ubuntu3
- 17.03.2-0ubuntu5
- 17.12.1-0ubuntu1
- 18.06.1-0ubuntu1~18.04.1
- Affected ranges
- ECOSYSTEM: < 18.06.1-0ubuntu1.2~18.04.1
Update to 18.06.1-0ubuntu1.2~18.04.1
runc Ubuntu:18.04:LTS
- Versions
- 1.0.0~rc2+docker1.13.1-0ubuntu1
- 1.0.0~rc4+dfsg1-2
- 1.0.0~rc4+dfsg1-6
- Affected ranges
- ECOSYSTEM: < 1.0.0~rc4+dfsg1-6ubuntu0.18.04.1
Update to 1.0.0~rc4+dfsg1-6ubuntu0.18.04.1
Original sources
- https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d
- https://access.redhat.com/errata/RHSA-2019:0408
- https://github.com/rancher/runc-cve
- https://access.redhat.com/errata/RHSA-2019:0401
- https://github.com/docker/docker-ce/releases/tag/v18.09.2
- https://www.synology.com/security/advisory/Synology_SA_19_06
- https://security.netapp.com/advisory/ntap-20190307-0008/
- https://access.redhat.com/errata/RHSA-2019:0303
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190215-runc
- https://github.com/q3k/cve-2019-5736-poc
- https://www.exploit-db.com/exploits/46359/
- https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b
- https://aws.amazon.com/security/security-bulletins/AWS-2019-002/
- https://www.openwall.com/lists/oss-security/2019/02/11/2
- https://kubernetes.io/blog/2019/02/11/runc-and-cve-2019-5736/
- https://access.redhat.com/security/cve/cve-2019-5736
- https://www.exploit-db.com/exploits/46369/
- https://access.redhat.com/errata/RHSA-2019:0304
- https://github.com/Frichetten/CVE-2019-5736-PoC
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03913en_us
- https://brauner.github.io/2019/02/12/privileged-containers.html
- https://www.twistlock.com/2019/02/11/how-to-mitigate-cve-2019-5736-in-runc-and-docker/
- https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc
- https://nvd.nist.gov/vuln/detail/CVE-2019-5736