CVE-2019-5736

Public Exploit

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.

Category

8.6
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 52.48% Top 5%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory cisco.com Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory ubuntu.com Vendor Advisory opensuse.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory gentoo.org Vendor Advisory microsoft.com Vendor Advisory microsoft.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d third party advisory patch
https://access.redhat.com/errata/RHSA-2019:0408 third party advisory vendor advisory
https://github.com/rancher/runc-cve third party advisory
https://access.redhat.com/errata/RHSA-2019:0401 third party advisory vendor advisory
https://github.com/docker/docker-ce/releases/tag/v18.09.2 third party advisory release notes
https://www.synology.com/security/advisory/Synology_SA_19_06 third party advisory
https://security.netapp.com/advisory/ntap-20190307-0008/ third party advisory
https://access.redhat.com/errata/RHSA-2019:0303 third party advisory vendor advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190215-runc third party advisory vendor advisory
https://github.com/q3k/cve-2019-5736-poc third party advisory exploit
https://www.exploit-db.com/exploits/46359/ third party advisory vdb entry exploit
https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b third party advisory patch
https://aws.amazon.com/security/security-bulletins/AWS-2019-002/ third party advisory
https://www.openwall.com/lists/oss-security/2019/02/11/2 patch mailing list third party advisory
https://kubernetes.io/blog/2019/02/11/runc-and-cve-2019-5736/ third party advisory
https://access.redhat.com/security/cve/cve-2019-5736 third party advisory
https://www.exploit-db.com/exploits/46369/ third party advisory vdb entry exploit
https://access.redhat.com/errata/RHSA-2019:0304 third party advisory vendor advisory
https://github.com/Frichetten/CVE-2019-5736-PoC third party advisory exploit
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03913en_us permissions required
https://brauner.github.io/2019/02/12/privileged-containers.html third party advisory exploit technical description
https://www.twistlock.com/2019/02/11/how-to-mitigate-cve-2019-5736-in-runc-and-docker/ third party advisory
https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc third party advisory
http://www.securityfocus.com/bid/106976 third party advisory vdb entry
https://access.redhat.com/security/vulnerabilities/runcescape third party advisory
https://blog.dragonsector.pl/2019/02/cve-2019-5736-escape-from-docker-and.html mitigation third party advisory exploit
https://bugzilla.suse.com/show_bug.cgi?id=1121967 patch third party advisory issue tracking
https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c%40%3Cdev.mesos.apache.org%3E mailing list
https://lists.apache.org/thread.html/a258757af84c5074dc7bf932622020fd4f60cef65a84290380386706%40%3Cuser.mesos.apache.org%3E mailing list
http://www.openwall.com/lists/oss-security/2019/03/23/1 third party advisory mailing list
https://support.mesosphere.com/s/article/Known-Issue-Container-Runtime-Vulnerability-MSPH-2019-0003 patch third party advisory exploit
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html vendor advisory mailing list third party advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/ vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/ vendor advisory
https://softwaresupport.softwaregrp.com/document/-/facetsearch/document/KM03410944 third party advisory
https://access.redhat.com/errata/RHSA-2019:0975 third party advisory vendor advisory
https://azure.microsoft.com/en-us/updates/cve-2019-5736-and-runc-vulnerability/ patch vendor advisory third party advisory
https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/ patch vendor advisory third party advisory
https://lists.apache.org/thread.html/acacf018c12636e41667e94ac0a1e9244e887eef2debdd474640aa6e%40%3Cdev.dlab.apache.org%3E mailing list
https://lists.apache.org/thread.html/a585f64d14c31ab393b90c5f17e41d9765a1a17eec63856ce750af46%40%3Cdev.dlab.apache.org%3E mailing list
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html vendor advisory mailing list third party advisory
http://www.openwall.com/lists/oss-security/2019/06/28/2 third party advisory mailing list
http://www.openwall.com/lists/oss-security/2019/07/06/3 third party advisory mailing list
http://www.openwall.com/lists/oss-security/2019/07/06/4 third party advisory mailing list
https://usn.ubuntu.com/4048-1/ third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html vendor advisory mailing list third party advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EGZKRCKI3Y7FMADO2MENMT4TU24QGHFR/ vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLC52IOJN6IQJWJ6CUI6AIUP6GVVG2QP/ vendor advisory
https://lists.apache.org/thread.html/24e54e3c6b2259e3903b6b8fe26896ac649c481ea99c5739468c92a3%40%3Cdev.dlab.apache.org%3E mailing list
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00007.html vendor advisory mailing list third party advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00029.html vendor advisory mailing list third party advisory
http://www.openwall.com/lists/oss-security/2019/10/24/1 third party advisory mailing list
http://www.openwall.com/lists/oss-security/2019/10/29/3 third party advisory mailing list
https://security.gentoo.org/glsa/202003-21 third party advisory vendor advisory
https://lists.apache.org/thread.html/rc494623986d76593873ce5a40dd69cb3629400d10750d5d7e96b8587%40%3Cdev.dlab.apache.org%3E mailing list
https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E mailing list
http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html third party advisory vdb entry exploit
http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html third party advisory vdb entry
http://www.openwall.com/lists/oss-security/2024/01/31/6 mailing list
http://www.openwall.com/lists/oss-security/2024/02/01/1 mailing list
http://www.openwall.com/lists/oss-security/2024/02/02/3 mailing list

Frequently Asked Questions

What is the severity of CVE-2019-5736?
CVE-2019-5736 has been scored as a high severity vulnerability.
How to fix CVE-2019-5736?
To fix CVE-2019-5736, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2019-5736 being actively exploited in the wild?
It is possible that CVE-2019-5736 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~52% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.