CVE-2021-43784
Apache runc Integer Overflow Netlink Attribute Vulnerability
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.
INFO
Published Date :
Dec. 6, 2021, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 6:29 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.7
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2021-43784 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-43784
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
awesome resources about cloud native security 🐿
cloud-native container-security cloud-native-security kubernetes-security container-escape k8s kubernetes container docker docker-security serverless serverless-security cloud-security cloud-computing
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-43784
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-43784
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugs.chromium.org/p/project-zero/issues/detail?id=2241 Added Reference https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554 Added Reference https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae Added Reference https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed Added Reference https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f Added Reference https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html Added Reference https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 19, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html [No types assigned] -
Reanalysis by [email protected]
Dec. 08, 2021
Action Type Old Value New Value Removed CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P) Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L -
Initial Analysis by [email protected]
Dec. 07, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bugs.chromium.org/p/project-zero/issues/detail?id=2241 No Types Assigned https://bugs.chromium.org/p/project-zero/issues/detail?id=2241 Exploit, Third Party Advisory Changed Reference Type https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554 No Types Assigned https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554 Patch, Third Party Advisory Changed Reference Type https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae No Types Assigned https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae Patch, Third Party Advisory Changed Reference Type https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed No Types Assigned https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed Patch, Third Party Advisory Changed Reference Type https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f No Types Assigned https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f Patch, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:* versions up to (excluding) 1.0.3 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 07, 2021
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-43784
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-43784
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.40 }} -0.42%
score
0.73231
percentile