Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-43784

MEDIUM 6.0PoCEPSS 79%

Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration

Also known as GHSA-v95c-p5hm-xq8f, GO-2022-0274

Mitigation

  • Upgrade github.com/opencontainers/runc to one of 1.0.3, 1.1.0 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/opencontainers/runc (< 1.0.3)
  • Anyone running opencontainers runc < 1.0.3

Vulnerability facts

Affected
github.com/opencontainers/runc < 1.0.3
Fixed in
1.0.3, 1.1.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, login needed
CVSS
6.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: Low
EPSS
1.79% chance of exploitation in 30 days (percentile 79, 2026-11-26)
CWE
CWE-190
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/opencontainers/runc< 1.0.31.0.3, 1.1.0osv
opencontainers runc< 1.0.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-43784. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-43784.md
Affected: github.com/opencontainers/runc < 1.0.3
Fixed in: 1.0.3, 1.1.0

Steps:
1. Search this machine and project for github.com/opencontainers/runc (Go), opencontainers runc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-43784 being exploited?

There is no confirmed exploitation: CVE-2021-43784 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.79% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-43784?

Medium: CVSS 6.0 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2021-43784?

github.com/opencontainers/runc < 1.0.3.

Is there a fix for CVE-2021-43784?

Yes. Fixed in 1.0.3, 1.1.0. Upgrade github.com/opencontainers/runc to one of 1.0.3, 1.1.0 (or later in the same release line).

How do I check if I'm affected by CVE-2021-43784?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors