National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-5736 Detail

Current 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.

Source:  MITRE
Description Last Modified:  02/11/2019
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 8.6 HIGH
Vector: AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H (V3 legend)
Impact Score: 6.0
Exploitability Score: 1.8


Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope (S): Changed
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 9.3 HIGH
Vector: (AV:N/AC:M/Au:N/C:C/I:C/A:C) (V2 legend)
Impact Subscore: 10.0
Exploitability Subscore: 8.6


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Complete
Integrity (I): Complete
Availability (A): Complete
Additional Information:
Victim must voluntarily interact with attack mechanism
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/03/23/1 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106976 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:0303 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0304 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0401 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0408 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0975 Third Party Advisory
https://access.redhat.com/security/cve/cve-2019-5736 Third Party Advisory
https://access.redhat.com/security/vulnerabilities/runcescape Third Party Advisory
https://aws.amazon.com/security/security-bulletins/AWS-2019-002/ Third Party Advisory
https://azure.microsoft.com/en-us/updates/cve-2019-5736-and-runc-vulnerability/ Third Party Advisory
https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/ Third Party Advisory
https://blog.dragonsector.pl/2019/02/cve-2019-5736-escape-from-docker-and.html Exploit Mitigation Third Party Advisory
https://brauner.github.io/2019/02/12/privileged-containers.html Exploit Technical Description Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1121967 Issue Tracking Third Party Advisory
https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc Third Party Advisory
https://github.com/docker/docker-ce/releases/tag/v18.09.2 Release Notes Third Party Advisory Vendor Advisory
https://github.com/Frichetten/CVE-2019-5736-PoC Third Party Advisory
https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b Patch Third Party Advisory
https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d Patch Third Party Advisory
https://github.com/q3k/cve-2019-5736-poc Third Party Advisory
https://github.com/rancher/runc-cve Third Party Advisory
https://kubernetes.io/blog/2019/02/11/runc-and-cve-2019-5736/ Third Party Advisory
https://lists.apache.org/thread.html/a258757af84c5074dc7bf932622020fd4f60cef65a84290380386706@%3Cuser.mesos.apache.org%3E Mailing List Third Party Advisory
https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c@%3Cdev.mesos.apache.org%3E Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20190307-0008/ Third Party Advisory
https://softwaresupport.softwaregrp.com/document/-/facetsearch/document/KM03410944 Third Party Advisory
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03913en_us Third Party Advisory
https://support.mesosphere.com/s/article/Known-Issue-Container-Runtime-Vulnerability-MSPH-2019-0003 Exploit Patch Third Party Advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190215-runc Third Party Advisory
https://www.exploit-db.com/exploits/46359/ Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46369/ Exploit Third Party Advisory VDB Entry
https://www.openwall.com/lists/oss-security/2019/02/11/2 Mailing List Patch Third Party Advisory
https://www.synology.com/security/advisory/Synology_SA_19_06 Third Party Advisory
https://www.twistlock.com/2019/02/11/how-to-mitigate-cve-2019-5736-in-runc-and-docker/ Third Party Advisory

Technical Details

Vulnerability Type (View All)

  • Containment Errors (Container Errors) (CWE-216)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
18.09.2

Configuration 2 ( hide )
 cpe:2.3:a:opencontainers:runc:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
1.0

Configuration 3 ( hide )
 cpe:2.3:a:opencontainers:runc:1.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:opencontainers:runc:1.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:opencontainers:runc:1.0:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:opencontainers:runc:1.0:rc4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:opencontainers:runc:1.0:rc5:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:opencontainers:runc:1.0:rc6:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:a:redhat:openshift:3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift:3.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift:3.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift:3.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift:3.9:*:*:*:enterprise:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 5 ( hide )
 cpe:2.3:a:google:kubernetes_engine:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 6 ( hide )
 cpe:2.3:a:linuxcontainers:lxc:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 7 ( hide )
 cpe:2.3:a:hp:onesphere:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 8 ( hide )
 cpe:2.3:a:netapp:element_software_management:-:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 9 ( hide )
 cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
1.4.0
Up to (including)
1.7.0

Configuration 10 ( hide )
 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 11 ( hide )
 cpe:2.3:a:mesosphere:kubernetes_engine:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2.2.0-1.13.3
 cpe:2.3:o:mesosphere:dc\/os:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
1.10.10
 cpe:2.3:o:mesosphere:dc\/os:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
1.10.11
Up to (excluding)
1.11.9
 cpe:2.3:o:mesosphere:dc\/os:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
1.11.10
Up to (excluding)
1.12.1

Configuration 12 ( hide )
 cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

29 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-5736
NVD Published Date:
02/11/2019
NVD Last Modified:
05/13/2019