GO-2022-0230
Dashboard / Vulnerabilities / GO-2022-0230
GO-2022-0230
Published: 1 Jul 2022Last Modified: 13 Mar 2026
Aliases:
Summary: Improper limitation of path name in github.com/containernetworking/cni
Details: The FindInPath function is vulnerable to directory traversal attacks, potentially permitting attackers to execute arbitrary binaries. This function does not sanitize its plugin parameter, so parameter names containing "../" or other such elements may reference arbitrary locations on the filesystem.
References: https://github.com/containernetworking/cni/pull/808, https://bugzilla.redhat.com/show_bug.cgi?id=1919391, https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549
Affected packages
Package
Name: github.com/containernetworking/cni
Purl: pkg:golang/github.com/containernetworking/cni
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.8.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
