{"api_version":"1","generated_at":"2026-04-22T23:31:01+00:00","cve":"CVE-2021-43784","urls":{"html":"https://cve.report/CVE-2021-43784","api":"https://cve.report/api/cve/CVE-2021-43784.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43784","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43784"},"summary":{"title":"CVE-2021-43784","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":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-12-06 18:15:00","updated_at":"2021-12-08 18:05:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html","name":"[debian-lts-announce] 20211206 [SECURITY] [DLA 2841-1] runc security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2841-1] runc security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","name":"https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","refsource":"MISC","tags":[],"title":"Open bind mount sources from the host userns · opencontainers/runc@9c44407 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","name":"https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-v95c-p5hm-xq8f · opencontainers/runc@f50369a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","name":"https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","refsource":"MISC","tags":[],"title":"2241 - \n \n \n project-zero -\n \n \n Project Zero - \n \n Monorail","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","name":"https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","refsource":"MISC","tags":[],"title":"runc init: avoid netlink message length overflows · opencontainers/runc@d72d057 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","name":"https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","refsource":"CONFIRM","tags":[],"title":"Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration · Advisory · opencontainers/runc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43784","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43784","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43784","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"43784","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"runc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-43784","qid":"161114","title":"Oracle Enterprise Linux Security Update for runc (ELSA-2023-6380)"},{"cve":"CVE-2021-43784","qid":"178929","title":"Debian Security Update for runc (DLA 2841-1)"},{"cve":"CVE-2021-43784","qid":"183127","title":"Debian Security Update for runc (CVE-2021-43784)"},{"cve":"CVE-2021-43784","qid":"199528","title":"Ubuntu Security Notification for runC Vulnerabilities (USN-6088-2)"},{"cve":"CVE-2021-43784","qid":"242301","title":"Red Hat Update for runc (RHSA-2023:6380)"},{"cve":"CVE-2021-43784","qid":"502183","title":"Alpine Linux Security Update for runc"},{"cve":"CVE-2021-43784","qid":"6000482","title":"Debian Security Update for runc (DLA 3735-1)"},{"cve":"CVE-2021-43784","qid":"6140096","title":"AWS Bottlerocket Security Update for runc (GHSA-86p7-cxqj-3p24)"},{"cve":"CVE-2021-43784","qid":"751555","title":"OpenSUSE Security Update for runc (openSUSE-SU-2021:4171-1)"},{"cve":"CVE-2021-43784","qid":"751558","title":"OpenSUSE Security Update for runc (openSUSE-SU-2021:1625-1)"},{"cve":"CVE-2021-43784","qid":"900460","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (6295)"},{"cve":"CVE-2021-43784","qid":"901615","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (6682-1)"},{"cve":"CVE-2021-43784","qid":"941400","title":"AlmaLinux Security Update for runc (ALSA-2023:6380)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43784","STATE":"PUBLIC","TITLE":"Overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"runc","version":{"version_data":[{"version_value":"< 1.0.3"}]}}]},"vendor_name":"opencontainers"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190: Integer Overflow or Wraparound"}]}]},"references":{"reference_data":[{"name":"https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f","refsource":"CONFIRM","url":"https://github.com/opencontainers/runc/security/advisories/GHSA-v95c-p5hm-xq8f"},{"name":"https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554","refsource":"MISC","url":"https://github.com/opencontainers/runc/commit/9c444070ec7bb83995dbc0185da68284da71c554"},{"name":"https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae","refsource":"MISC","url":"https://github.com/opencontainers/runc/commit/d72d057ba794164c3cce9451a00b72a78b25e1ae"},{"name":"https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed","refsource":"MISC","url":"https://github.com/opencontainers/runc/commit/f50369af4b571e358f20b139eea52d612eb55eed"},{"name":"https://bugs.chromium.org/p/project-zero/issues/detail?id=2241","refsource":"MISC","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=2241"},{"refsource":"MLIST","name":"[debian-lts-announce] 20211206 [SECURITY] [DLA 2841-1] runc security update","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00005.html"}]},"source":{"advisory":"GHSA-v95c-p5hm-xq8f","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-12-06 18:15:00","lastModifiedDate":"2021-12-08 18:05:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.6,"impactScore":3.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6},"severity":"MEDIUM","exploitabilityScore":6.8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43784","Ordinal":"221362","Title":"CVE-2021-43784","CVE":"CVE-2021-43784","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43784","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}