CVE-2021-20206

containernetworking-cni: Arbitrary path injection via type field in CNI configuration

Published Mar 26, 2021 CVSS 3.1 · 7.2 High EPSS 1.5% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1255 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.
Github GHSA Github GHSA GHSA-xjqr-g762-pxwp containernetworking/cni improper limitation of path name
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:30 PM
Reserved
Dec 17, 2020, 12:00 AM
Status
Modified
Published
Mar 26, 2021, 10:15 PM
Modified
Jun 17, 2026, 3:33 AM
Severity
Moderate
Public date
Feb 5, 2021, 12:00 AM