CVE-2021-20206
mediumpriority · track · 30EPSS 0.015 · 75 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.2
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (20)
Products and version ranges known to be affected.
- linuxfoundation container network interface< 0.8.1nvdUScpe:2.3:a:linuxfoundation:container_network_interface:*:*:*:*:*:*:*:*
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0510IBM DB2: Mehrere SchwachstellenDeutsch2022-06-29csaf · cert_bundDE
Ein entfernter, anonymer, authentisierter oder lokaler Angreifer kann mehrere Schwachstellen in IBM DB2 ausnutzen, um Dateien zu manipulieren, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand auszulösen, willkürlichen Code mit erhöhten Rechten auszuführen, Informationen falsch darzustellen und beliebigen Code auszuführen.
- GHSA-xjqr-g762-pxwpcontainernetworking/cni improper limitation of path name2022-02-15ghsa · osvUS
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. ### Specific Go Packages Affected github.com/containernetworking/cni/pkg/invoke
- GO-2022-0230Improper limitation of path name in github.com/containernetworking/cni2022-07-01vendor · osvUS
The FindInPath function is vulnerable to directory traversal attacks, potentially permitting attackers to execute arbitrary binaries. This function does not sanitize its plugin parameter, so parameter names containing "../" or other such elements may reference arbitrary locations on the filesystem.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202102-561cnnvd
- EUVD-2022-1255enisa_euvd
- BDU:2023-05301fstec_bdu
- GHSA-xjqr-g762-pxwpenisa_euvd
- GHSA-xjqr-g762-pxwposv
- GO-2022-0230osv
- SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549osv
sources
Which sources assert this record, and when.
references (29)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-20206cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1919391cnnvd
- https://github.com/containernetworking/cni/pull/808Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-20206cnnvd
- https://packetstormsecurity.com/files/162082/Red-Hat-Security-Advisory-2021-1005-01.htmlcnnvd
- https://packetstormsecurity.com/files/162715/Red-Hat-Security-Advisory-2021-1552-01.htmlcnnvd
- https://packetstormsecurity.com/files/163690/Red-Hat-Security-Advisory-2021-2438-01.htmlcnnvd
- https://packetstormsecurity.com/files/163734/Red-Hat-Security-Advisory-2021-3001-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan