Go Vulnerability Database
GO-2022-0230
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/containernetworking/cni | All versions before 0.8.1 (fixed in 0.8.1) |