Live threats

All CVEs / Linuxfoundation

CVE-2021-20206Linuxfoundation Container Network Interface

High 7.2

Priority
43
CVSS 3.1
7.2
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Mar 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Container Network Interface.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containernetworking/cni < 0.8.1 0.8.1 go get github.com/containernetworking/cni@v0.8.1
Go github.com/containernetworking/cni < 0.8.1 0.8.1 go get github.com/containernetworking/cni@v0.8.1

Per OSV / GitHub Advisories (GHSA-xjqr-g762-pxwp, GO-2022-0230). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationcontainer_network_interface< 0.8.1

Official sources

References

Links published by the sources. Open them with care.