CVE-2019-5736

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

https://www.openwall.com/lists/oss-security/2019/02/11/2

https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d

https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b

https://github.com/docker/docker-ce/releases/tag/v18.09.2

https://access.redhat.com/security/vulnerabilities/runcescape

https://access.redhat.com/security/cve/cve-2019-5736

https://www.twistlock.com/2019/02/11/how-to-mitigate-cve-2019-5736-in-runc-and-docker/

https://github.com/rancher/runc-cve

https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc

https://brauner.github.io/2019/02/12/privileged-containers.html

https://aws.amazon.com/security/security-bulletins/AWS-2019-002/

https://access.redhat.com/errata/RHSA-2019:0304

https://access.redhat.com/errata/RHSA-2019:0303

https://kubernetes.io/blog/2019/02/11/runc-and-cve-2019-5736/

https://www.exploit-db.com/exploits/46359/

http://www.securityfocus.com/bid/106976

https://www.exploit-db.com/exploits/46369/

https://github.com/q3k/cve-2019-5736-poc

https://github.com/Frichetten/CVE-2019-5736-PoC

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190215-runc

https://www.synology.com/security/advisory/Synology_SA_19_06

https://access.redhat.com/errata/RHSA-2019:0401

https://access.redhat.com/errata/RHSA-2019:0408

https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03913en_us

https://security.netapp.com/advisory/ntap-20190307-0008/

https://lists.apache.org/thread.html/[email protected]%3Cdev.mesos.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cuser.mesos.apache.org%3E

http://www.openwall.com/lists/oss-security/2019/03/23/1

https://bugzilla.suse.com/show_bug.cgi?id=1121967

https://blog.dragonsector.pl/2019/02/cve-2019-5736-escape-from-docker-and.html

https://support.mesosphere.com/s/article/Known-Issue-Container-Runtime-Vulnerability-MSPH-2019-0003

http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html

http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html

http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/

https://lists.fedoraproject.org/archives/list/[email protected]/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/

https://softwaresupport.softwaregrp.com/document/-/facetsearch/document/KM03410944

https://access.redhat.com/errata/RHSA-2019:0975

https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/

https://azure.microsoft.com/en-us/updates/cve-2019-5736-and-runc-vulnerability/

https://lists.apache.org/thread.html/[email protected]%3Cdev.dlab.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cdev.dlab.apache.org%3E

http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html

http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html

http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html

http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html

http://www.openwall.com/lists/oss-security/2019/06/28/2

http://www.openwall.com/lists/oss-security/2019/07/06/4

http://www.openwall.com/lists/oss-security/2019/07/06/3

https://usn.ubuntu.com/4048-1/

http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/DLC52IOJN6IQJWJ6CUI6AIUP6GVVG2QP/

https://lists.fedoraproject.org/archives/list/[email protected]/message/EGZKRCKI3Y7FMADO2MENMT4TU24QGHFR/

https://lists.apache.org/thread.html/[email protected]%3Cdev.dlab.apache.org%3E

http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00007.html

http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00029.html

http://www.openwall.com/lists/oss-security/2019/10/24/1

http://www.openwall.com/lists/oss-security/2019/10/29/3

https://security.gentoo.org/glsa/202003-21

https://lists.apache.org/thread.html/[email protected]%3Cdev.dlab.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Cissues.geode.apache.org%3E

Details

Source: MITRE

Published: 2019-02-11

Updated: 2021-07-01

Type: CWE-78

Risk Information

CVSS v2

Base Score: 9.3

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 8.6

Severity: HIGH

CVSS v3

Base Score: 8.6

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Impact Score: 6

Exploitability Score: 1.8

Severity: HIGH

Vulnerable Software

Configuration 1

OR

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

Configuration 2

OR

cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* versions up to 0.1.1 (inclusive)

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

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

OR

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

Configuration 5

OR

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

Configuration 6

OR

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

Configuration 7

OR

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

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

Configuration 8

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

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

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

OR

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

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

Configuration 12

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

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:*:*:*:*:*:*:*

Tenable Plugins

View all (46 total)

IDNameProductFamilySeverity
154519NewStart CGSL CORE 5.05 / MAIN 5.05 : docker-ce Multiple Vulnerabilities (NS-SA-2021-0138)NessusNewStart CGSL Local Security Checks
high
149049Oracle Linux 7 : runc (ELSA-2021-9203)NessusOracle Linux Local Security Checks
high
147293NewStart CGSL CORE 5.04 / MAIN 5.04 : containerd.io Multiple Vulnerabilities (NS-SA-2021-0006)NessusNewStart CGSL Local Security Checks
high
145642CentOS 8 : container-tools:rhel8 (CESA-2019:0975)NessusCentOS Local Security Checks
high
143962NewStart CGSL CORE 5.04 / MAIN 5.04 : docker-ce Multiple Vulnerabilities (NS-SA-2020-0082)NessusNewStart CGSL Local Security Checks
high
137821Oracle Linux 7 : docker-cli / docker-engine (ELSA-2020-5739)NessusOracle Linux Local Security Checks
high
134598GLSA-202003-21 : runC: Multiple vulnerabilitiesNessusGentoo Local Security Checks
high
132255RancherOS < 1.5.1 Local Command ExecutionNessusMisc.
high
130262Centos 7 : runcNessusCentOS Local Security Checks
high
129580openSUSE Security Update : lxc (openSUSE-2019-2245)NessusSuSE Local Security Checks
high
128579Fedora 29 : lxc / lxcfs / python3-lxc (2019-c1dac1b3b8)NessusFedora Local Security Checks
high
128564Fedora 30 : lxc / lxcfs / python3-lxc (2019-2baa1f7b19)NessusFedora Local Security Checks
high
128409openSUSE Security Update : containerd / docker / docker-runc / etc (openSUSE-2019-2021)NessusSuSE Local Security Checks
high
127884SUSE SLED15 / SLES15 Security Update : containerd, docker, docker-runc, golang-github-docker-libnetwork (SUSE-SU-2019:2117-1)NessusSuSE Local Security Checks
high
127569Oracle Linux 8 : container-tools:rhel8 (ELSA-2019-0975)NessusOracle Linux Local Security Checks
high
126564Ubuntu 16.04 LTS / 18.04 LTS / 18.10 / 19.04 : Docker vulnerabilities (USN-4048-1)NessusUbuntu Local Security Checks
high
125920SUSE SLED15 / SLES15 Security Update : containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork (SUSE-SU-2019:1234-2)NessusSuSE Local Security Checks
high
125697openSUSE Security Update : containerd / docker / docker-runc / etc (openSUSE-2019-1499)NessusSuSE Local Security Checks
high
125668openSUSE Security Update : lxc / lxcfs (openSUSE-2019-1481)NessusSuSE Local Security Checks
high
125452openSUSE Security Update : containerd / docker / docker-runc / etc (openSUSE-2019-1444)NessusSuSE Local Security Checks
high
124666RHEL 8 : container-tools:rhel8 (RHSA-2019:0975)NessusRed Hat Local Security Checks
high
124575Fedora 30 : 2:runc (2019-bc70b381ad)NessusFedora Local Security Checks
high
124570Fedora 29 : 2:runc (2019-6174b47003)NessusFedora Local Security Checks
high
124312openSUSE Security Update : lxc / lxcfs (openSUSE-2019-1275)NessusSuSE Local Security Checks
high
123542openSUSE Security Update : containerd / docker / docker-runc / etc (openSUSE-2019-1079)NessusSuSE Local Security Checks
high
122697EulerOS 2.0 SP5 : docker-engine (EulerOS-SA-2019-1074)NessusHuawei Local Security Checks
high
122660openSUSE Security Update : containerd / docker / docker-runc / etc (openSUSE-2019-295)NessusSuSE Local Security Checks
high
122523Fedora 28 : flatpak (2019-a5f616808e)NessusFedora Local Security Checks
high
122494openSUSE Security Update : docker-runc (openSUSE-2019-252)NessusSuSE Local Security Checks
high
122472SUSE SLED15 / SLES15 Security Update : containerd, docker, docker-runc, golang-github-docker-libnetwork, runc (SUSE-SU-2019:0495-1)NessusSuSE Local Security Checks
high
122442RHEL 7 : OpenShift Container Platform 3.4, 3.5, 3.6, and 3.7 (RHSA-2019:0408)NessusRed Hat Local Security Checks
high
122408Fedora 29 : 2:docker-latest (2019-4dc1e39b34)NessusFedora Local Security Checks
high
122388EulerOS 2.0 SP2 : docker-engine (EulerOS-SA-2019-1061)NessusHuawei Local Security Checks
high
122358Fedora 28 : 2:docker (2019-f455ef79b8)NessusFedora Local Security Checks
high
122356Fedora 28 : 2:runc (2019-963ea958f9)NessusFedora Local Security Checks
high
122338openSUSE Security Update : runc (openSUSE-2019-208)NessusSuSE Local Security Checks
high
122301openSUSE Security Update : docker-runc (openSUSE-2019-201)NessusSuSE Local Security Checks
high
122283Fedora 28 : moby-engine (2019-829524f28f)NessusFedora Local Security Checks
high
122277Fedora 29 : moby-engine (2019-352d4b9cd8)NessusFedora Local Security Checks
high
122199Fedora 29 : 2:docker (2019-df2e68aa6b)NessusFedora Local Security Checks
high
122197Fedora 29 : 2:runc (2019-3f19f13ecd)NessusFedora Local Security Checks
high
122182SUSE SLES15 Security Update : docker-runc (SUSE-SU-2019:0362-1)NessusSuSE Local Security Checks
high
122139Fedora 29 : flatpak (2019-fd9345f44a)NessusFedora Local Security Checks
high
122111RHEL 7 : docker (RHSA-2019:0304)NessusRed Hat Local Security Checks
high
122110RHEL 7 : runc (RHSA-2019:0303)NessusRed Hat Local Security Checks
high
122096Amazon Linux AMI : docker (ALAS-2019-1156)NessusAmazon Linux Local Security Checks
high