CVSS 3.1
7.2 highCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HHigh (7.2) in linuxfoundation container network interface. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containernetworking/cni 0.8.1.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Hgithub.com/containernetworking/cni (Go): fixed in 0.8.1Explain CVE-2021-20206 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20206?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20206?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20206 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linuxfoundation:container_network_interface | before 0.8.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xjqr-g762-pxwp | Go | github.com/containernetworking/cni | <0.8.1 | 0.8.1 |
| GO-2022-0230 | Go | github.com/containernetworking/cni | <0.8.1 | 0.8.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | golang-github-appc-cni | 0.8.1-1 | DEBIAN-CVE-2021-20206 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 4 more | golang-github-appc-cni | no fix listed | UBUNTU-CVE-2021-20206 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Enterprise Storage 7.1 and 20 more | cni | 0.7.1-150100.3.8.1 | SUSE-SU-2022:4592-1 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Enterprise Storage 7.1 and 20 more | cni-plugins | 0.8.6-150100.3.11.1 | SUSE-SU-2022:4593-1 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 more | buildah | 1.25.1-150100.3.13.12 | SUSE-SU-2022:3480-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | podman | 4.3.1-150300.9.15.1 | SUSE-SU-2023:0326-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 | libgpg-error | 1.42-150300.9.3.1 | SUSE-SU-2022:3766-1 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Module for Containers 15 SP4 | podman | 4.3.1-150400.4.11.1 | SUSE-SU-2023:0187-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP3 | buildah | 1.23.1-150300.8.3.1 | SUSE-SU-2022:0770-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP3 | buildah | 1.27.1-150300.8.11.1 | SUSE-SU-2022:3766-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP4 | buildah | 1.27.1-150400.3.8.1 | SUSE-SU-2022:3655-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 | cni | 0.7.1-150000.1.7.1 | SUSE-SU-2022:4150-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 | cni-plugins | 0.8.6-150000.1.7.1 | SUSE-SU-2022:4151-1 |
| openSUSE | Leap 15.3 | buildah | 1.23.1-150300.8.3.1 | openSUSE-SU-2022:0770-1 |
| openSUSE | Leap 15.3 | buildah | 1.27.1-150300.8.11.1 | SUSE-SU-2022:3766-1 |
| openSUSE | Leap 15.3, Leap 15.4, Leap Micro 5.2 and 1 more | cni | 0.7.1-150100.3.8.1 | SUSE-SU-2022:4592-1 |
| openSUSE | Leap 15.3, Leap 15.4, Leap Micro 5.2 and 1 more | cni-plugins | 0.8.6-150100.3.11.1 | SUSE-SU-2022:4593-1 |
| openSUSE | Leap 15.3, Leap Micro 5.2 | libgpg-error | 1.42-150300.9.3.1 | SUSE-SU-2022:3766-1 |
| openSUSE | Leap 15.4 | buildah | 1.27.1-150400.3.8.1 | SUSE-SU-2022:3655-1 |
| openSUSE | Leap 15.4, Leap Micro 5.3 | podman | 4.3.1-150400.4.11.1 | SUSE-SU-2023:0187-1 |
| openSUSE | Leap Micro 5.2 | podman | 4.3.1-150300.9.15.1 | SUSE-SU-2023:0326-1 |
| openSUSE | Tumbleweed | buildah | 1.23.0-1.1 | openSUSE-SU-2024:10666-1 |
| openSUSE | Tumbleweed | cni | 1.0.1-3.1 | openSUSE-SU-2024:12512-1 |
| openSUSE | Tumbleweed | cni-plugins | 1.1.1-2.1 | openSUSE-SU-2024:12513-1 |
| openSUSE | Tumbleweed | podman | 4.2.0-2.1 | openSUSE-SU-2024:12371-1 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | buildah | 1.19.4-r0 | ALPINE-CVE-2021-20206 |
| Azure Linux | 3 | buildah | 1.41.4-2 | AZL-44838 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
OpenShift ServiceMesh (OSSM) does package a vulnerable version of containernetworking/cni, however, the NetworkDefinitionAttachment is defined in code and cannot be easily changed except through a user who has access to the operator namespace such as cluster-admin. As such, for OSSM, the impact is Moderate.
The fix for podman was released as a part of OpenShift 4.8 and is included in future releases.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 4.7 | openshift4/ose-docker-builder:v4.7.0-202103270130.p0 | Fixed 2021-04-05 | RHSA-2021:1005 |
| Red Hat OpenShift Container Platform 4.7 | openshift4/ose-sriov-cni:v4.7.0-202103270130.p0 | Fixed 2021-04-05 | RHSA-2021:1007 |
| Red Hat OpenShift Container Platform 4.7 | openshift4/ose-sriov-infiniband-cni:v4.7.0-202104281843.p0 | Fixed 2021-05-19 | RHSA-2021:1552 |
| Red Hat OpenShift Container Platform 4.7 | openshift4/ose-container-networking-plugins-rhel8:v4.7.0-202201261537.p0.ga3cf46b.assembly.stream | Fixed 2022-02-16 | RHSA-2022:0492 |
| Red Hat OpenShift Container Platform 4.7 | openshift4-wincw/windows-machine-config-rhel8-operator:2.0.5-4 | Fixed 2022-05-02 | RHSA-2022:1660 |
| Red Hat OpenShift Container Platform 4.8 | openshift4/ose-container-networking-plugins-rhel8:v4.8.0-202106291913.p0.git.a8801b0.assembly.stream | Fixed 2021-07-27 | RHSA-2021:2438 |
| Red Hat OpenShift Container Platform 4.8 | openshift4/ose-docker-builder:v4.8.0-202107152024.p0.git.70b7b95.assembly.stream | Fixed 2021-07-27 | RHSA-2021:2438 |
| Red Hat OpenShift Container Platform 4.8 | openshift4-wincw/windows-machine-config-rhel8-operator:3.0.0-16 | Fixed 2021-08-03 | RHSA-2021:3001 |
| OpenShift Service Mesh 2.0 | servicemesh-cni | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | cni | Not affected | |
| Red Hat Enterprise Linux 7 | buildah | Out of support scope | |
| Red Hat Enterprise Linux 7 | containernetworking-plugins | Out of support scope | |
| Red Hat Enterprise Linux 7 | podman | Out of support scope | |
| Red Hat Enterprise Linux 8 | container-tools:1.0/buildah | Will not fix | |
| Red Hat Enterprise Linux 8 | container-tools:1.0/containernetworking-plugins | Out of support scope | |
| Red Hat Enterprise Linux 8 | container-tools:1.0/podman | Out of support scope | |
| Red Hat Enterprise Linux 8 | container-tools:2.0/buildah | Will not fix | |
| Red Hat Enterprise Linux 8 | container-tools:2.0/containernetworking-plugins | Affected | |
| Red Hat Enterprise Linux 8 | container-tools:2.0/podman | Affected | |
| Red Hat Enterprise Linux 8 | container-tools:rhel8/buildah | Will not fix | |
| 35 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20206.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).