CVE-2021-20206Linuxfoundation Container Network Interface
High 7.2
Follow: this CVE · Linuxfoundation · Linuxfoundation Container Network Interface We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Container Network Interface.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | container_network_interface | < 0.8.1 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- snyk.io Third Party Advisory