Directory Traversal Affecting golang-github-appc-cni package, versions <0.8.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.53% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-GOLANGGITHUBAPPCCNI-11744684
  • published10 Aug 2025
  • disclosed26 Mar 2021

Introduced: 26 Mar 2021

CVE-2021-20206  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:14 golang-github-appc-cni to version 0.8.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-appc-cni package and not the golang-github-appc-cni package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as "../" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

CVSS Base Scores

version 3.1