CVE-2021-20206 – github.com/containernetworking/cni
Package
Manager: go
Name: github.com/containernetworking/cni
Vulnerable Version: >=0 <0.8.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00121 pctl0.31725
Details
containernetworking/cni improper limitation of path name 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
Metadata
Created: 2022-02-15T01:57:18Z
Modified: 2023-10-02T13:12:28Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-xjqr-g762-pxwp/GHSA-xjqr-g762-pxwp.json
CWE IDs: ["CWE-20", "CWE-22"]
Alternative ID: GHSA-xjqr-g762-pxwp
Finding: F063
Auto approve: 1