6

CVE-2021-43784: Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration

Modified
AliasesMGASA-2021-0553SUSE-SU-2021:4059-1SUSE-SU-2021:4171-1
Published 06-12-2021Last modified 15-10-2024

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.

Priority
Routine

Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.0/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.80%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 06-12-2021
    PublishedVulnerability first disclosed.
  2. 15-10-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.chromium.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

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
Mageia1 product
  • opencontainers-runc< 1.0.3-1.mga8
Opencontainers1 product
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
Show all 26 references