{"id":"UBUNTU-CVE-2019-5736","details":"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.","modified":"2026-01-30T01:49:25.652070Z","published":"2019-02-11T19:29:00Z","related":["USN-4048-1"],"upstream":["CVE-2019-5736"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-5736"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2019/02/11/2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-5736"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4048-1"}],"affected":[{"package":{"name":"docker.io","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/docker.io@18.06.1-0ubuntu1.2~16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.06.1-0ubuntu1.2~16.04.1"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"docker.io","binary_version":"18.06.1-0ubuntu1.2~16.04.1"},{"binary_name":"golang-docker-dev","binary_version":"18.06.1-0ubuntu1.2~16.04.1"},{"binary_name":"golang-github-docker-docker-dev","binary_version":"18.06.1-0ubuntu1.2~16.04.1"},{"binary_name":"vim-syntax-docker","binary_version":"18.06.1-0ubuntu1.2~16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5736.json"}},{"package":{"name":"runc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/runc@1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-github-opencontainers-runc-dev","binary_version":"1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1"},{"binary_name":"runc","binary_version":"1.0.0~rc2+docker1.13.1-0ubuntu1~16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5736.json"}},{"package":{"name":"docker.io","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/docker.io@18.06.1-0ubuntu1.2~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.06.1-0ubuntu1.2~18.04.1"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"docker.io","binary_version":"18.06.1-0ubuntu1.2~18.04.1"},{"binary_name":"golang-docker-dev","binary_version":"18.06.1-0ubuntu1.2~18.04.1"},{"binary_name":"golang-github-docker-docker-dev","binary_version":"18.06.1-0ubuntu1.2~18.04.1"},{"binary_name":"vim-syntax-docker","binary_version":"18.06.1-0ubuntu1.2~18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5736.json"}},{"package":{"name":"runc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/runc@1.0.0~rc4+dfsg1-6ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0~rc4+dfsg1-6ubuntu0.18.04.1"}]}],"versions":["1.0.0~rc2+docker1.13.1-0ubuntu1","1.0.0~rc4+dfsg1-2","1.0.0~rc4+dfsg1-6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-github-opencontainers-runc-dev","binary_version":"1.0.0~rc4+dfsg1-6ubuntu0.18.04.1"},{"binary_name":"runc","binary_version":"1.0.0~rc4+dfsg1-6ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-5736.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}