CVE & CISA-KEV Catalog

CVE-2021-43784

MEDIUMEPSS 74th pctl
6.0
CVSS v3
NVD

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.

How to fix

Remediation Available
runcDebian
Fixed in:1.0.0~rc93+ds1-5+deb11u4CVE-2021-43784
Fixed in:1.0.3+ds1-1CVE-2021-43784
Fixed in:1.0.3+ds1-1CVE-2021-43784
Fixed in:1.0.3+ds1-1CVE-2021-43784
runcRed Hat / RHEL
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
runcRocky
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
runc-debuginfoRocky
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
runc-debuginfoRed Hat / RHEL
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
runc-debugsourceRed Hat / RHEL
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
runc-debugsourceRocky
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
Fixed in:4:1.1.9-1.el9RHSA-2023:6380
runcUbuntu
Fixed in:1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4USN-6088-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L

Exploit Intelligence

1.66%probability of exploitation in 30 days
74thpercentile

Elevated risk: more likely to be exploited than 74% of all known CVEs.

References

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2021-43784
CVE-2021-43784 severity badge

Markdown

[![CVE-2021-43784](https://tridentstack.com/cve/badge/CVE-2021-43784.svg)](https://tridentstack.com/cve/CVE-2021-43784)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-43784"><img src="https://tridentstack.com/cve/badge/CVE-2021-43784.svg" alt="CVE-2021-43784"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.