Improper input validation in containernetworking-cni
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 8 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | containernetworking-cni | containernetworking/cni 0.8.1 | — | No fix listed | CNA |
| — | github.com/containernetworking/cni (Go) | before 0.8.1 | 0.8.1 | Patch available | GHSA-xjqr-g762-pxwp |
- containernetworking-cni Vendor— Affected containernetworking/cni 0.8.1 Fixed in — No fix listed CNA
- github.com/containernetworking/cni (Go) Vendor— Affected before 0.8.1 Fixed in 0.8.1 Patch available GHSA-xjqr-g762-pxwp
Remediation
- Fix · GHSA-xjqr-g762-pxwp github.com/containernetworking/cni (Go) Fixed in 0.8.1 Advisory →
Red Hat 8 advisories
- RHSA-2022:1660 Released 2022-05-02 · Red Hat rating ModerateRed Hat OpenShift support for Windows Containers 2.0.5 [security update]
- Red Hat OpenShift Container Platform 4.7 openshift4-wincw/windows-machine-config-rhel8-operator
- RHSA-2022:0492 Released 2022-02-16 · Red Hat rating ModerateOpenShift Container Platform 4.7.43 security update
- Red Hat OpenShift Container Platform 4.7 openshift4/ose-container-networking-plugins-rhel8
- RHSA-2021:3001 Released 2021-08-03 · Red Hat rating ModerateRed Hat OpenShift Container Platform for Windows Containers 3.0.0 security and bug fix update
- Red Hat OpenShift Container Platform 4.8 openshift4-wincw/windows-machine-config-rhel8-operator
Show 5 more Red Hat advisories
- RHSA-2021:2438 Released 2021-07-27 · Red Hat rating ModerateOpenShift Container Platform 4.8.2 bug fix and security update
- Red Hat OpenShift Container Platform 4.8 openshift4/driver-toolkit-rhel8, openshift4/egress-router-cni-rhel8, openshift4/network-tools-rhel8 +47
- RHSA-2021:1552 Released 2021-05-19 · Red Hat rating ModerateOpenShift Container Platform 4.7.11 security and bug fix update
- Red Hat OpenShift Container Platform 4.7 openshift4/ose-sriov-dp-admission-controller, openshift4/ose-sriov-infiniband-cni
- RHSA-2021:1005 Released 2021-04-05 · Red Hat rating ModerateOpenShift Container Platform 4.7.5 security and bug fix update
- Red Hat OpenShift Container Platform 4.7 openshift4/ose-cluster-kube-controller-manager-operator, openshift4/ose-cluster-kube-scheduler-operator, openshift4/ose-cluster-policy-controller-rhel8 +1
- RHSA-2021:1007 Released 2021-04-05 · Red Hat rating ModerateOpenShift Container Platform 4.7.5 security and bug fix update
- Red Hat OpenShift Container Platform 4.7 openshift4/ose-cluster-kube-descheduler-operator, openshift4/ose-cluster-kube-descheduler-rhel8-operator, openshift4/ose-metering-ansible-operator +2
- RHSA-2021:0799 Released 2021-03-10 · Red Hat rating ModerateOpenShift Virtualization 2.6.0 security and bug fix update
- CNV 2.6 for RHEL 8 container-native-virtualization/kubevirt-cpu-model-nfd-plugin, container-native-virtualization/kubevirt-cpu-node-labeller, container-native-virtualization/kubevirt-kvm-info-nfd-plugin +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2.0 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Virtualization 2 | Affected | No fix yet |
| Red Hat Openshift Container Storage 4 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4.7 | Fixed | RHSA-2021:1005, RHSA-2021:1007, RHSA-2021:1552, RHSA-2022:0492, RHSA-2022:1660 |
| Red Hat OpenShift Container Platform 4.8 | Fixed | RHSA-2021:2438, RHSA-2021:3001 |
Not affected: 7 products
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.7
- Red Hat OpenShift Container Platform 4.8
- Red Hat Openshift Container Storage 4
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20206
- 2026-10-03 Alias added: GHSA-xjqr-g762-pxwp
References
Sources
- CVE-2021-20206 · CVE Program
- CVE-2021-20206 · NVD
- FIRST EPSS
- GHSA-xjqr-g762-pxwp · GitHub Advisory Database · CC BY 4.0
- CVE-2021-20206 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences