CVEfocus › CVE database › CVE-2021-20206

CVE-2021-20206

CVSS 7.2 HighEPSS 1.5% (higher than 75% of CVEs)Published 2021-03-26Updated 2024-08-03Assigner: redhat

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.

CWE-20

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
10Fix pending
3Under investigation
8Will not fix
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-appc-cniFix pendingUBUNTU-CVE-2021-20206
Ubuntu 26.04golang-github-appc-cniUnder investigationUBUNTU-CVE-2021-20206
Ubuntu 25.10golang-github-appc-cniWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-20206
Ubuntu 24.04golang-github-appc-cniUnder investigationUBUNTU-CVE-2021-20206
Ubuntu 22.04golang-github-appc-cniUnder investigationUBUNTU-CVE-2021-20206
Ubuntu 20.04golang-github-appc-cniWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-20206
Ubuntu 18.04golang-github-appc-cniWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-20206
Debian 14golang-github-appc-cniFixed0.8.1-1DEBIAN-CVE-2021-20206
Debian 13golang-github-appc-cniFixed0.8.1-1DEBIAN-CVE-2021-20206
Debian 12golang-github-appc-cniFixed0.8.1-1DEBIAN-CVE-2021-20206
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9containernetworking-pluginsNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 8buildahWill not fix
Will not fix
Red Hat Enterprise Linux 8buildah-testsWill not fix
Will not fix
Red Hat Enterprise Linux 8containernetworking-pluginsFix pending
Affected
Red Hat Enterprise Linux 8podmanFix pending
Affected
Red Hat Enterprise Linux 8podman-catatonitFix pending
Affected
Red Hat Enterprise Linux 8podman-dockerFix pending
Affected
Red Hat Enterprise Linux 8podman-gvproxyFix pending
Affected
Red Hat Enterprise Linux 8podman-manpagesFix pending
Affected
Red Hat Enterprise Linux 8podman-pluginsFix pending
Affected
Red Hat Enterprise Linux 8podman-remoteFix pending
Affected
Red Hat Enterprise Linux 8podman-testsFix pending
Affected
Red Hat Enterprise Linux 7buildahWill not fix
Out of support scope
Red Hat Enterprise Linux 7containernetworking-pluginsWill not fix
Out of support scope
Red Hat Enterprise Linux 7podmanWill not fix
Out of support scope
Alpine Linux 3.24buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.23buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.22buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.21buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.20buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.19buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.18buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.17buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.16buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.15buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Alpine Linux 3.14buildahFixed1.19.4-r0ALPINE-CVE-2021-20206
Go librarygithub.com/containernetworking/cniFixed0.8.1GO-2022-0230

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.