{"api_version":"1","generated_at":"2026-04-23T04:33:34+00:00","cve":"CVE-2021-20206","urls":{"html":"https://cve.report/CVE-2021-20206","api":"https://cve.report/api/cve/CVE-2021-20206.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20206","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20206"},"summary":{"title":"CVE-2021-20206","description":"An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as \"../\" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-03-26 22:15:00","updated_at":"2023-11-07 03:29:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549","name":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549","refsource":"MISC","tags":[],"title":"Directory Traversal in github.com/containernetworking/cni/pkg/invoke | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1919391","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1919391","refsource":"MISC","tags":[],"title":"1919391 – (CVE-2021-20206) CVE-2021-20206 containernetworking-cni: Arbitrary path injection via type field in CNI configuration","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20206","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20206","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20206","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cncf","cpe5":"container_network_interface","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20206","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"container_network_interface","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20206","qid":"180278","title":"Debian Security Update for golang-github-appc-cni (CVE-2021-20206)"},{"cve":"CVE-2021-20206","qid":"501808","title":"Alpine Linux Security Update for buildah"},{"cve":"CVE-2021-20206","qid":"504590","title":"Alpine Linux Security Update for buildah"},{"cve":"CVE-2021-20206","qid":"751850","title":"OpenSUSE Security Update for buildah (openSUSE-SU-2022:0770-1)"},{"cve":"CVE-2021-20206","qid":"752641","title":"SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2022:3480-1)"},{"cve":"CVE-2021-20206","qid":"752726","title":"SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2022:3766-1)"},{"cve":"CVE-2021-20206","qid":"752819","title":"SUSE Enterprise Linux Security Update for cni-plugins (SUSE-SU-2022:4151-1)"},{"cve":"CVE-2021-20206","qid":"752906","title":"SUSE Enterprise Linux Security Update for cni (SUSE-SU-2022:4150-1)"},{"cve":"CVE-2021-20206","qid":"753019","title":"SUSE Enterprise Linux Security Update for cni (SUSE-SU-2022:4592-1)"},{"cve":"CVE-2021-20206","qid":"753052","title":"SUSE Enterprise Linux Security Update for cni-plugins (SUSE-SU-2022:4593-1)"},{"cve":"CVE-2021-20206","qid":"753101","title":"SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2022:0770-1)"},{"cve":"CVE-2021-20206","qid":"753242","title":"SUSE Enterprise Linux Security Update for buildah (SUSE-SU-2022:3655-1)"},{"cve":"CVE-2021-20206","qid":"753592","title":"SUSE Enterprise Linux Security Update for podman (SUSE-SU-2023:0187-1)"},{"cve":"CVE-2021-20206","qid":"753659","title":"SUSE Enterprise Linux Security Update for podman (SUSE-SU-2023:0326-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20206","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"containernetworking-cni","version":{"version_data":[{"version_value":"containernetworking/cni 0.8.1"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20->CWE-22"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1919391","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1919391"},{"refsource":"MISC","name":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549","url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549"}]},"description":{"description_data":[{"lang":"eng","value":"An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as \"../\" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability."}]}},"nvd":{"publishedDate":"2021-03-26 22:15:00","lastModifiedDate":"2023-11-07 03:29:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":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:container_network_interface:*:*:*:*:*:*:*:*","versionEndExcluding":"0.8.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20206","Ordinal":"194247","Title":"CVE-2021-20206","CVE":"CVE-2021-20206","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20206","Ordinal":"1","NoteData":"An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as \"../\" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20206","Ordinal":"2","NoteData":"2021-03-26","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20206","Ordinal":"3","NoteData":"2021-03-26","Type":"Other","Title":"Modified"}]}}}