CVE-2021-43784Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration
- 6.0MediumCVSS base score
- 1.8%Exploitation in 30 daysEPSS · top 21% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc, netlink is used internally as a serialization system for specifying the relevant container configuration to the `C` portion of the code (responsible for the based namespace setup of containers). In all versions of runc prior to 1.0.3, the encoder did not handle the possibility of an integer overflow in the 16-bit length field for the byte array attribute type, meaning that a large enough malicious byte array attribute could result in the length overflowing and the attribute contents being parsed as netlink messages for container configuration. This vulnerability requires the attacker to have some control over the configuration of the container and would allow the attacker to bypass the namespace restrictions of the container by simply adding their own netlink payload which disables all namespaces. The main users impacted are those who allow untrusted images with untrusted configurations to run on their machines (such as with shared cloud infrastructure). runc version 1.0.3 contains a fix for this bug. As a workaround, one may try disallowing untrusted namespace paths from your container. It should be noted that untrusted namespace paths would allow the attacker to disable namespace protections entirely even in the absence of this bug.
Timeline
ID reserved
By GitHub_M
- 20 days later
· 20 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium5.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 1.8% · top 21% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Affected products
- affected < 1.0.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/opencontainers/runcGHSA-v95c-p5hm-xq8f (opens in a new tab)
References
References7
- https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f (opens in a new tab)x_transferred
- https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554 (opens in a new tab)x_transferred
- https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae (opens in a new tab)x_transferred
- https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed (opens in a new tab)x_transferred
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2241 (opens in a new tab)x_transferred
- [debian-lts-announce] 20211206 [SECURITY] [DLA 2841-1] runc security update (opens in a new tab)mailing-listx_transferred
- [debian-lts-announce] 20240219 [SECURITY] [DLA 3735-1] runc security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2591 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v95c-p5hm-xq8f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-43784)Record last updated .