{"id":"UBUNTU-CVE-2024-21626","details":"runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem (\"attack 2\"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run (\"attack 1\"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes (\"attack 3a\" and \"attack 3b\"). runc 1.1.12 includes patches for this issue.","modified":"2026-06-29T13:49:43.432120975Z","published":"2024-01-31T20:00:00Z","related":["USN-6619-1"],"upstream":["CVE-2024-21626"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21626"},{"type":"REPORT","url":"https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6619-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-21626"}],"affected":[{"package":{"name":"runc","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/runc?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.4-0ubuntu1~18.04.2+esm1"}]}],"versions":["1.0.0~rc2+docker1.13.1-0ubuntu1","1.0.0~rc4+dfsg1-2","1.0.0~rc4+dfsg1-6","1.0.0~rc4+dfsg1-6ubuntu0.18.04.1","1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.1","1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2","1.0.0~rc7+git20190403.029124da-0ubuntu1~18.04.2+esm1","1.0.0~rc10-0ubuntu1~18.04.1","1.0.0~rc10-0ubuntu1~18.04.2","1.0.0~rc93-0ubuntu1~18.04.1","1.0.0~rc93-0ubuntu1~18.04.2","1.0.0~rc95-0ubuntu1~18.04.1","1.0.0~rc95-0ubuntu1~18.04.2","1.0.1-0ubuntu2~18.04.1","1.1.0-0ubuntu1~18.04.1","1.1.4-0ubuntu1~18.04.1","1.1.4-0ubuntu1~18.04.2"],"ecosystem_specific":{"priority_reason":"Allows an attacker to escape containers","binaries":[{"binary_name":"golang-github-opencontainers-runc-dev","binary_version":"1.1.4-0ubuntu1~18.04.2+esm1"},{"binary_name":"runc","binary_version":"1.1.4-0ubuntu1~18.04.2+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21626.json"}},{"package":{"name":"runc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/runc?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-0ubuntu1~20.04.2"}]}],"versions":["1.0.0~rc8+git20190923.3e425f80-0ubuntu1","1.0.0~rc10-0ubuntu1","1.0.0~rc93-0ubuntu1~20.04.1","1.0.0~rc93-0ubuntu1~20.04.2","1.0.0~rc95-0ubuntu1~20.04.1","1.0.0~rc95-0ubuntu1~20.04.2","1.0.1-0ubuntu2~20.04.1","1.1.0-0ubuntu1~20.04.1","1.1.0-0ubuntu1~20.04.2","1.1.4-0ubuntu1~20.04.1","1.1.4-0ubuntu1~20.04.2","1.1.4-0ubuntu1~20.04.3","1.1.7-0ubuntu1~20.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.7-0ubuntu1~20.04.2","binary_name":"golang-github-opencontainers-runc-dev"},{"binary_name":"runc","binary_version":"1.1.7-0ubuntu1~20.04.2"}],"availability":"No subscription required","priority_reason":"Allows an attacker to escape containers"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21626.json"}},{"package":{"name":"runc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/runc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-0ubuntu1~22.04.2"}]}],"versions":["1.0.1-0ubuntu2","1.0.1-0ubuntu3","1.0.3-0ubuntu1","1.1.0-0ubuntu1","1.1.0-0ubuntu1.1","1.1.4-0ubuntu1~22.04.1","1.1.4-0ubuntu1~22.04.2","1.1.4-0ubuntu1~22.04.3","1.1.7-0ubuntu1~22.04.1"],"ecosystem_specific":{"availability":"No subscription required","priority_reason":"Allows an attacker to escape containers","binaries":[{"binary_name":"golang-github-opencontainers-runc-dev","binary_version":"1.1.7-0ubuntu1~22.04.2"},{"binary_name":"runc","binary_version":"1.1.7-0ubuntu1~22.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21626.json"}}],"schema_version":"1.7.5","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.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}