Security mailing lists by PureSourceCode

CVE-2021-20206

HIGH 7.2CVSS 3.1

containernetworking/cni improper limitation of path name

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.

Published
26 Mar 2021
Last modified
10 Sep 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20CWE-22
Also known as
GHSA-xjqr-g762-pxwpGO-2022-0230SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549
Sources
NVDJSONOSV GHSA-xjqr-g762-pxwpJSONOSV GO-2022-0230JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation container_network_interface
cpe:2.3:a:linuxfoundation:container_network_interface:*:*:*:*:*:*:*:*
< 0.8.1 0.8.1
OSV Go github.com/containernetworking/cni < 0.8.1 0.8.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Mar 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Feb 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.