Advisory

GO-2022-0230

Also known as: CVE-2021-20206, GHSA-xjqr-g762-pxwp

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.

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:17 UTC
Modified
2026-03-13 21:56 UTC

Affected packages and fixes

github.com/containernetworking/cni

Go · All systems

Affected

  • introduced 0, fixed 0.8.1 (semver)

Fixed versions

0.8.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences