CVE-2021-20206
Improper limitation of path name in github.com/containernetworking/cni
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.
How to fix CVE-2021-20206
To remediate CVE-2021-20206, upgrade the affected package to a fixed version below.
- —upgrade to 0.8.1-1 or later
- —upgrade to 0.8.1 or later
- —upgrade to 0.8.1 or later
Is CVE-2021-20206 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.8.1-1
- from 0, < 0.8.1
- from 0, < 0.8.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |