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

Overview

Source
ID
GO-2022-0230
Aliases
CVE-2021-20206
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.

Summary

651
Total packages affected
Packages with at least one version that is affected by the advisory or has an affected dependency.
247
Packages with a known fix
Packages with versions affected by the advisory that have a greater version that is not affected.
0.05%
Total ecosystem affected
The proportion of packages in the ecosystem that are affected by the advisory (fixed or not).
Affected Version: Introduced: 0, Fixed: 0.8.1
Patched/Unaffected
v0.8.1
v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.1.2
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
Affected
v0.8.0
v0.7.1
v0.7.0
v0.6.0
v0.5.2
v0.5.1
v0.5.0
v0.4.0
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0