CVE-2019-5736

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.
References
Link 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://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00007.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00029.html Mailing List Third Party Advisory
http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html Exploit Third Party Advisory VDB Entry
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/2019/03/23/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/28/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/07/06/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/07/06/4 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/10/24/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/10/29/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/31/6
http://www.openwall.com/lists/oss-security/2024/02/01/1
http://www.openwall.com/lists/oss-security/2024/02/02/3
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/ Patch Third Party Advisory Vendor Advisory
https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/ Patch Third Party Advisory Vendor 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 Patch Third Party Advisory
https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc Third Party Advisory
https://github.com/Frichetten/CVE-2019-5736-PoC Exploit Third Party Advisory
https://github.com/docker/docker-ce/releases/tag/v18.09.2 Release Notes 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 Exploit 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/24e54e3c6b2259e3903b6b8fe26896ac649c481ea99c5739468c92a3%40%3Cdev.dlab.apache.org%3E
https://lists.apache.org/thread.html/a258757af84c5074dc7bf932622020fd4f60cef65a84290380386706%40%3Cuser.mesos.apache.org%3E
https://lists.apache.org/thread.html/a585f64d14c31ab393b90c5f17e41d9765a1a17eec63856ce750af46%40%3Cdev.dlab.apache.org%3E
https://lists.apache.org/thread.html/acacf018c12636e41667e94ac0a1e9244e887eef2debdd474640aa6e%40%3Cdev.dlab.apache.org%3E
https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c%40%3Cdev.mesos.apache.org%3E
https://lists.apache.org/thread.html/rc494623986d76593873ce5a40dd69cb3629400d10750d5d7e96b8587%40%3Cdev.dlab.apache.org%3E
https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLC52IOJN6IQJWJ6CUI6AIUP6GVVG2QP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EGZKRCKI3Y7FMADO2MENMT4TU24QGHFR/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/
https://security.gentoo.org/glsa/202003-21 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 Permissions Required
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://usn.ubuntu.com/4048-1/ 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
Configurations

Configuration 1 (hide)

cpe:2.3:a:docker:docker:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:runc:1.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:runc:1.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:runc:1.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:runc:1.0.0:rc4:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:runc:1.0.0:rc5:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:runc:1.0.0:rc6:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:a:redhat:container_development_kit:3.7:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift:3.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift:3.5:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift:3.6:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift:3.7:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:a:google:kubernetes_engine:-:*:*:*:*:*:*:*

Configuration 5 (hide)

cpe:2.3:a:linuxcontainers:lxc:*:*:*:*:*:*:*:*

Configuration 6 (hide)

cpe:2.3:a:hp:onesphere:-:*:*:*:*:*:*:*

Configuration 7 (hide)

OR cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*

Configuration 8 (hide)

OR cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:mesos:*:*:*:*:*:*:*:*

Configuration 9 (hide)

OR cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*
cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*

Configuration 10 (hide)

OR cpe:2.3:a:d2iq:kubernetes_engine:*:*:*:*:*:*:*:*
cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*
cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*
cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*

Configuration 11 (hide)

OR cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*

Configuration 12 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*

Configuration 13 (hide)

OR cpe:2.3:a:microfocus:service_management_automation:2018.02:*:*:*:*:*:*:*
cpe:2.3:a:microfocus:service_management_automation:2018.05:*:*:*:*:*:*:*
cpe:2.3:a:microfocus:service_management_automation:2018.08:*:*:*:*:*:*:*
cpe:2.3:a:microfocus:service_management_automation:2018.11:*:*:*:*:*:*:*

History

02 Feb 2024, 12:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/02/02/3 -

01 Feb 2024, 06:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/02/01/1 -

31 Jan 2024, 21:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/01/31/6 -

07 Nov 2023, 03:11

Type Values Removed Values Added
References
  • {'url': 'https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E', 'name': '[geode-issues] 20200831 [jira] [Created] (GEODE-8471) Dependency security issues in geode-core-1.12', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EGZKRCKI3Y7FMADO2MENMT4TU24QGHFR/', 'name': 'FEDORA-2019-2baa1f7b19', 'tags': ['Third Party Advisory'], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.apache.org/thread.html/rc494623986d76593873ce5a40dd69cb3629400d10750d5d7e96b8587@%3Cdev.dlab.apache.org%3E', 'name': '[dlab-dev] 20200525 [jira] [Deleted] (DLAB-723) Runc vulnerability CVE-2019-5736', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.apache.org/thread.html/a585f64d14c31ab393b90c5f17e41d9765a1a17eec63856ce750af46@%3Cdev.dlab.apache.org%3E', 'name': '[dlab-dev] 20190524 [jira] [Updated] (DLAB-723) Runc vulnerability CVE-2019-5736', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLC52IOJN6IQJWJ6CUI6AIUP6GVVG2QP/', 'name': 'FEDORA-2019-c1dac1b3b8', 'tags': ['Third Party Advisory'], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.apache.org/thread.html/a258757af84c5074dc7bf932622020fd4f60cef65a84290380386706@%3Cuser.mesos.apache.org%3E', 'name': '[mesos-user] 20190323 CVE-2019-0204: Some Mesos components can be overwritten making arbitrary code execution possible.', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.apache.org/thread.html/acacf018c12636e41667e94ac0a1e9244e887eef2debdd474640aa6e@%3Cdev.dlab.apache.org%3E', 'name': '[dlab-dev] 20190524 [jira] [Created] (DLAB-723) Runc vulnerability CVE-2019-5736', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.apache.org/thread.html/24e54e3c6b2259e3903b6b8fe26896ac649c481ea99c5739468c92a3@%3Cdev.dlab.apache.org%3E', 'name': '[dlab-dev] 20190923 [jira] [Assigned] (DLAB-723) Runc vulnerability CVE-2019-5736', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c@%3Cdev.mesos.apache.org%3E', 'name': '[mesos-dev] 20190323 CVE-2019-0204: Some Mesos components can be overwritten making arbitrary code execution possible.', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'MLIST'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/', 'name': 'FEDORA-2019-bc70b381ad', 'tags': ['Third Party Advisory'], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/', 'name': 'FEDORA-2019-6174b47003', 'tags': ['Third Party Advisory'], 'refsource': 'FEDORA'}
  • () https://lists.apache.org/thread.html/24e54e3c6b2259e3903b6b8fe26896ac649c481ea99c5739468c92a3%40%3Cdev.dlab.apache.org%3E -
  • () https://lists.apache.org/thread.html/acacf018c12636e41667e94ac0a1e9244e887eef2debdd474640aa6e%40%3Cdev.dlab.apache.org%3E -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EGZKRCKI3Y7FMADO2MENMT4TU24QGHFR/ -
  • () https://lists.apache.org/thread.html/rc494623986d76593873ce5a40dd69cb3629400d10750d5d7e96b8587%40%3Cdev.dlab.apache.org%3E -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLC52IOJN6IQJWJ6CUI6AIUP6GVVG2QP/ -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/ -
  • () https://lists.apache.org/thread.html/a258757af84c5074dc7bf932622020fd4f60cef65a84290380386706%40%3Cuser.mesos.apache.org%3E -
  • () https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c%40%3Cdev.mesos.apache.org%3E -
  • () https://lists.apache.org/thread.html/a585f64d14c31ab393b90c5f17e41d9765a1a17eec63856ce750af46%40%3Cdev.dlab.apache.org%3E -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/ -
  • () https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E -

16 Dec 2021, 18:38

Type Values Removed Values Added
References (MISC) http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html - (MISC) http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html - Exploit, Third Party Advisory, VDB Entry
References (MISC) http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html - (MISC) http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html - Third Party Advisory, VDB Entry

08 Dec 2021, 18:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html -
  • (MISC) http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html -

13 Apr 2021, 15:34

Type Values Removed Values Added
CPE cpe:2.3:a:mesosphere:kubernetes_engine:*:*:*:*:*:*:*:*
cpe:2.3:o:mesosphere:dc\/os:*:*:*:*:*:*:*:*
cpe:2.3:o:d2iq:dc\/os:*:*:*:*:*:*:*:*
cpe:2.3:a:d2iq:kubernetes_engine:*:*:*:*:*:*:*:*

Information

Published : 2019-02-11 19:29

Updated : 2024-02-02 12:15


NVD link : CVE-2019-5736

Mitre link : CVE-2019-5736

CVE.ORG link : CVE-2019-5736


JSON object : View

Products Affected

apache

  • mesos

redhat

  • container_development_kit
  • enterprise_linux_server
  • enterprise_linux
  • openshift

netapp

  • hci_management_node
  • solidfire

docker

  • docker

google

  • kubernetes_engine

d2iq

  • kubernetes_engine
  • dc\/os

hp

  • onesphere

opensuse

  • backports_sle
  • leap

microfocus

  • service_management_automation

fedoraproject

  • fedora

linuxfoundation

  • runc

canonical

  • ubuntu_linux

linuxcontainers

  • lxc
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')