CVE-2021-43784: Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration
Vulnerability summary
CVE-2021-43784 is a medium (CVSS 6.0) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 1.80% chance of exploitation in the next 30 days, higher than 78.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 06-12-2021PublishedVulnerability first disclosed.
- 15-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · DebianEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · WolfiEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- NVDNIST5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
1.80%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.80% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.chromium.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse6 products
- runc&distro=SUSE Enterprise Storage 7< 1.0.3-27.1
- runc&distro=SUSE Linux Enterprise Micro 5.0< 1.0.3-27.1
- runc&distro=SUSE Linux Enterprise Micro 5.1< 1.0.3-27.1
- runc&distro=SUSE Linux Enterprise Module for Containers 12< 1.0.3-16.18.1
- runc&distro=SUSE Linux Enterprise Module for Containers 15 SP2< 1.0.3-27.1
Opensuse3 products
- runc&distro=openSUSE Leap 15.2< 1.0.3-lp152.2.12.1
- runc&distro=openSUSE Leap 15.3< 1.0.3-27.1
- runc&distro=openSUSE Tumbleweed< 1.0.3-1.1
Chainguard2 products
- runcAll versions (No fix recorded)
- runc-docAll versions (No fix recorded)
Debian2 products
- runc< 0.1.1+dfsg1-2+deb9u3 | < 1.0.3+ds1-1
- debian_linuxEOL9.0
Wolfi2 products
- runcAll versions (No fix recorded)
- runc-docAll versions (No fix recorded)
Alpine1 product
- runc< 1.0.3-r0
Github.com/opencontainers1 product
- runc< 1.0.3 | ≥ 1.0.1-0.20211012131345-9c444070ec7b, < 1.1.0
Linuxfoundation1 product
- runc< 1.0.3
Mageia1 product
- opencontainers-runc< 1.0.3-1.mga8
Opencontainers1 product
- runc< 1.0.3
Ubuntu1 product
- runc< 1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4 | All versions (No fix recorded)
11 vendors · 21 products
References
26 links- github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8fREPORTFIXWEBPatchThird Party Advisory
- github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554FIXWEBPatchThird Party Advisory
- github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1aeFIXWEBPatchThird Party Advisory
- github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eedFIXWEBPatchThird Party Advisory
Show all 26 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory