CVE-2021-43784

Summary

CVECVE-2021-43784
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-12-06 18:15:00 UTC
Updated2021-12-08 18:05:00 UTC
Descriptionrunc 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Application Linuxfoundation Runc All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2841-1] runc security update MLIST lists.debian.org
Open bind mount sources from the host userns · opencontainers/runc@9c44407 · GitHub MISC github.com
Merge pull request from GHSA-v95c-p5hm-xq8f · opencontainers/runc@f50369a · GitHub MISC github.com
2241 - project-zero - Project Zero - Monorail MISC bugs.chromium.org
runc init: avoid netlink message length overflows · opencontainers/runc@d72d057 · GitHub MISC github.com
Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration · Advisory · opencontainers/runc · GitHub CONFIRM github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 161114 Oracle Enterprise Linux Security Update for runc (ELSA-2023-6380)
  • 178929 Debian Security Update for runc (DLA 2841-1)
  • 183127 Debian Security Update for runc (CVE-2021-43784)
  • 199528 Ubuntu Security Notification for runC Vulnerabilities (USN-6088-2)
  • 242301 Red Hat Update for runc (RHSA-2023:6380)
  • 502183 Alpine Linux Security Update for runc
  • 6000482 Debian Security Update for runc (DLA 3735-1)
  • 6140096 AWS Bottlerocket Security Update for runc (GHSA-86p7-cxqj-3p24)
  • 751555 OpenSUSE Security Update for runc (openSUSE-SU-2021:4171-1)
  • 751558 OpenSUSE Security Update for runc (openSUSE-SU-2021:1625-1)
  • 900460 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (6295)
  • 901615 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (6682-1)
  • 941400 AlmaLinux Security Update for runc (ALSA-2023:6380)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report