High, CVSS 7.2GoPublished
containernetworking/cni improper limitation of path name
CVE-2021-20206 · GHSA-xjqr-g762-pxwp
- Affected
- Go github.com/containernetworking/cni < 0.8.1
- Fixed in
- 0.8.1· Vendor fix available
- Issue
- 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
Recommended action: Upgrade to 0.8.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.