CVE-2021-20206

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxfoundation:container_network_interface:*:*:*:*:*:*:*:*

History

05 Aug 2022, 17:42

Type Values Removed Values Added
CWE CWE-20

09 Sep 2021, 13:32

Type Values Removed Values Added
CPE cpe:2.3:a:cncf:container_network_interface:*:*:*:*:*:*:*:* cpe:2.3:a:linuxfoundation:container_network_interface:*:*:*:*:*:*:*:*

02 Apr 2021, 13:49

Type Values Removed Values Added
References (MISC) https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549 - (MISC) https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549 - Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1919391 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1919391 - Issue Tracking, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 7.2
CPE cpe:2.3:a:cncf:container_network_interface:*:*:*:*:*:*:*:*

26 Mar 2021, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-26 22:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-20206

Mitre link : CVE-2021-20206

CVE.ORG link : CVE-2021-20206


JSON object : View

Products Affected

linuxfoundation

  • container_network_interface
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-20

Improper Input Validation