GHSA-xjqr-g762-pxwp
containernetworking/cni improper limitation of path name
At a glance
- Published
- Updated
- CVE
- CVE-2021-20206
- Aliases
- GO-2022-0230, SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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. ### Specific Go Packages Affected github.com/containernetworking/cni/pkg/invoke
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/containernetworking/cni | introduced 0, fixed 0.8.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20206 ADVISORY
- https://github.com/containernetworking/cni/pull/808 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1919391 WEB
- https://github.com/containernetworking/cni PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0230 WEB
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |