GO-2022-0230

Improper limitation of path name in github.com/containernetworking/cni

At a glance

Published
Updated
CVE
CVE-2021-20206
Aliases
GHSA-xjqr-g762-pxwp

Description

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

PackageVersions
Go · github.com/containernetworking/cniintroduced 0, fixed 0.8.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database