CVE-2021-20206

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-20206
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20206.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20206
Aliases
Related
Published
2021-03-26T22:15:12Z
Modified
2024-09-18T03:11:53.336477Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / golang-github-appc-cni

Package

Name
golang-github-appc-cni
Purl
pkg:deb/debian/golang-github-appc-cni?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-appc-cni

Package

Name
golang-github-appc-cni
Purl
pkg:deb/debian/golang-github-appc-cni?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-appc-cni

Package

Name
golang-github-appc-cni
Purl
pkg:deb/debian/golang-github-appc-cni?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/containernetworking/cni

Affected ranges

Type
GIT
Repo
https://github.com/containernetworking/cni
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

spec-v0.*

spec-v0.1.0
spec-v0.2.0
spec-v0.3.0
spec-v0.3.1
spec-v0.4.0

v0.*

v0.1.0
v0.2.0-rc0
v0.3.0
v0.3.0-rc0
v0.3.0-rc1
v0.3.0-rc2
v0.3.0-rc3
v0.4.0
v0.5.0
v0.5.0-rc1
v0.5.1
v0.5.2
v0.6.0
v0.6.0-rc1
v0.6.0-rc2
v0.7.0
v0.7.0-alpha0
v0.7.0-alpha1
v0.7.0-rc1
v0.7.0-rc2
v0.7.1
v0.8.0