{"id":"EUVD-2021-2591","revision":null,"records":[{"revision":"bf2893f7c03044a7afb00f2ee403dd37","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-43784","aliases":[],"title":"Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration","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.","state":0,"publishedAt":"2021-12-06T00:00:00+00:00","modifiedAt":"2024-10-15T17:14:20.24+00:00","affected":[{"ecosystem":"Vendor product","name":"runc","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"opencontainers\",\n                    \"product\": \"runc\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.0.3\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6,"severity":"MEDIUM"}],"references":["https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html","https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-43784","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-43784","identifiers":["CVE-2021-43784"]},"retained":false,"historicalAffected":[]},{"revision":"61f1604158fb444ca0ebc48df6af51fc","observedAt":"2026-11-18T01:44:58.523+00:00","statement":{"source":"euvd","id":"EUVD-2021-2591","aliases":["CVE-2021-43784","GHSA-v95c-p5hm-xq8f"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6,"severity":null}],"references":["https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html","https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2591","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 6, 2021, 12:00:00 AM","dateUpdated":"Oct 15, 2024, 5:14:20 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2021:1625-1","title":"Security update for runc","vulnerabilityIds":["CVE-2021-43784"]},{"id":"openSUSE-SU-2021:4171-1","title":"Security update for runc","vulnerabilityIds":["CVE-2021-43784"]},{"id":"RHSA-2023:6380","title":"Red Hat Security Advisory: runc security update","vulnerabilityIds":["CVE-2021-43784","CVE-2022-41724","CVE-2023-25809","CVE-2023-27561","CVE-2023-28642"]},{"id":"SUSE-SU-2021:4171-1","title":"Security update for runc","vulnerabilityIds":["CVE-2021-43784"]},{"id":"openSUSE-SU-2024:11664-1","title":"runc-1.0.3-1.1 on GA media","vulnerabilityIds":["CVE-2021-43784"]},{"id":"msrc_CVE-2021-43784","title":"Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration","vulnerabilityIds":["CVE-2021-43784"]},{"id":"SUSE-SU-2021:4059-1","title":"Security update for runc","vulnerabilityIds":["CVE-2021-43784"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-2591","identifiers":["EUVD-2021-2591","CVE-2021-43784","GHSA-v95c-p5hm-xq8f"]},"retained":false,"historicalAffected":[]},{"revision":"38f4907725384761919bb2f8bb9d830d","observedAt":"2026-10-24T19:17:31.277+00:00","statement":{"source":"nvd","id":"CVE-2021-43784","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2021-12-06T18:15:08.24+00:00","modifiedAt":"2026-06-17T04:11:25.983+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5,"severity":"MEDIUM"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"severity":"MEDIUM"}],"references":["https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html","https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-43784","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-190"],"productCriteria":["cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-12-06T18:15:08.240","lastModified":"2026-06-17T04:11:25.983"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-43784","identifiers":["CVE-2021-43784"]},"retained":false,"historicalAffected":[]},{"revision":"96eddcdb75e049fc89c845e3d2203e4b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-v95c-p5hm-xq8f","aliases":["CVE-2021-43784","GO-2022-0274"],"title":"Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration in RunC","description":"### Impact\n\nIn runc, [netlink](https://www.man7.org/linux/man-pages/man7/netlink.7.html) is used internally as a serialization system for specifying the relevant container configuration to the C portion of our 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.\n\nThis 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.\n\nPrior to 9c444070ec7bb83995dbc0185da68284da71c554, in practice it was fairly difficult to specify an arbitrary-length netlink message with most container runtimes. The only user-controlled byte array was the namespace paths attributes which can be specified in runc's `config.json`, but as far as we can tell no container runtime gives raw access to that configuration setting -- and having raw access to that setting **would allow the attacker to disable namespace protections entirely anyway** (setting them to `/proc/1/ns/...` for instance). In addition, each namespace path is limited to 4096 bytes (with only 7 namespaces supported by runc at the moment) meaning that even with custom namespace paths it appears an attacker still cannot shove enough bytes into the netlink bytemsg in order to overflow the uint16 counter.\n\nHowever, out of an abundance of caution (given how old this bug is) we decided to treat it as a potentially exploitable vulnerability with a low severity. After 9c444070ec7bb83995dbc0185da68284da71c554 (which was not present in any release of runc prior to the discovery of this bug), all mount paths are included as a giant netlink message which means that this bug becomes significantly more exploitable in more reasonable threat scenarios.\n\nThe main users impacted are those who allow untrusted images with untrusted configurations to run on their machines (such as with shared cloud infrastructure), though as mentioned above it appears this bug was not practically exploitable on any released version of runc to date.\n\n### Patches\nThe patch for this is d72d057ba794164c3cce9451a00b72a78b25e1ae and runc 1.0.3 was released with this bug fixed.\n\n### Workarounds\nTo the extent this is exploitable, disallowing untrusted namespace paths in container configuration should eliminate all practical ways of exploiting this bug. It should be noted that untrusted namespace paths would allow the attacker to disable namespace protections entirely even in the absence of this bug.\n\n### References\n* commit d72d057ba794 (\"runc init: avoid netlink message length overflows\")\n* https://bugs.chromium.org/p/project-zero/issues/detail?id=2241\n\n### Credits\nThanks to Felix Wilhelm from Google Project Zero for discovering and reporting this vulnerability. In particular, the fact they found this vulnerability so quickly, before we made a 1.1 release of runc (which would've been vulnerable) was quite impressive.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [our repo](https://github.com/opencontainers/runc)\n","state":0,"publishedAt":"2021-12-07T21:22:39+00:00","modifiedAt":"2026-09-10T03:49:10.4780712+00:00","affected":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","https://nvd.nist.gov/vuln/detail/CVE-2021-43784","https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","https://github.com/opencontainers/runc/commit/dde509df4e28cec33b3c99c6cda3d4fd5beafc77","https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","https://github.com/opencontainers/runc","https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html","https://lists.debian.org/debian-lts-announce/2024/02/msg00005.html","https://pkg.go.dev/vuln/GO-2022-0274"],"sourceUrl":"https://github.com/advisories/GHSA-v95c-p5hm-xq8f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v95c-p5hm-xq8f","identifiers":["GHSA-v95c-p5hm-xq8f","CVE-2021-43784","GO-2022-0274"]},"retained":false,"historicalAffected":[]},{"revision":"2c85c982b1f34aae9df7eabda727fe6b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0274","aliases":["CVE-2021-43784","GHSA-v95c-p5hm-xq8f"],"title":"Namespace restriction bypass in github.com/opencontainers/runc","description":"An attacker with partial control over the bind mount sources of a new container can bypass namespace restrictions.","state":0,"publishedAt":"2022-07-15T23:08:20+00:00","modifiedAt":"2026-02-04T02:26:28.34324+00:00","affected":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.1-0.20211012131345-9c444070ec7b"},{"kind":"fixed","version":"1.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","https://github.com/opencontainers/runc/commit/dde509df4e28cec33b3c99c6cda3d4fd5beafc77","https://bugs.chromium.org/p/project-zero/issues/detail?id=2241"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0274","license":"OSV · upstream source license applies","key":"osv:GO-2022-0274","identifiers":["GO-2022-0274","CVE-2021-43784","GHSA-v95c-p5hm-xq8f"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T06:24:22.7088152+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T06:24:22.7088152+00:00","lastSuccessAt":"2026-11-19T06:24:22.8754391+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:24:22.8754399+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-42f061bddbd482fb0fdcbfdaef32a6fe691ccebc959e217807f38a7ec448390c","complete":true,"records":428247,"lastAttemptAt":"2026-11-19T06:22:43.7183085+00:00","lastSuccessAt":"2026-11-19T06:22:43.6605476+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:22:43.7183085+00:00","snapshotPublishedAt":"2026-11-19T05:24:53+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-083dc80a6b0d4f35b068331bf39b5727","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T06:32:59.6292222+00:00","lastSuccessAt":"2026-11-19T06:32:59.625+00:00","error":"208 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T06:32:59.625+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13581,"expectedIdentifiers":13908,"failedIdentifiers":208},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T06:24:22.7088152+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T06:24:22.7088152+00:00","lastSuccessAt":"2026-11-19T06:24:22.8762559+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:24:22.8762561+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-84b4b212d7ef41cb9ec24b71e9d8e5d8","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T06:24:23.3874789+00:00","lastSuccessAt":"2026-11-19T04:24:39.391+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:39.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T06:24:22.665091+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:24:22.665091+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T06:22:43.8470822+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:22:43.8470822+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T06:24:22.6784424+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:24:22.6784424+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-79ba98249fc096fffe991a6a897ec91d79aa0bbce455566e233ea218d4eb3d8e","complete":true,"records":232711,"lastAttemptAt":"2026-11-19T06:24:22.5400107+00:00","lastSuccessAt":"2026-11-19T06:24:21.5299094+00:00","error":null,"lastVerifiedAt":"2026-11-19T06:24:22.5400107+00:00","snapshotPublishedAt":"2026-11-19T05:48:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}