Bug 1181961 - (CVE-2021-20206) VUL-0: CVE-2021-20206: cni,podman,cni-plugins: Arbitrary path injection via type field in CNI configuration
VUL-0: CVE-2021-20206: cni,podman,cni-plugins: Arbitrary path injection via t...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Containers Team
Security Team bot
Depends on:
  Show dependency treegraph
Reported: 2021-02-08 17:27 UTC by Gianluca Gabrielli
Modified: 2022-08-11 11:42 UTC (History)
6 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Gianluca Gabrielli 2021-02-08 17:27:24 UTC

A flaw was found in libcni. A user may  be able to change the "type:" field in a CNI configuration to an arbitrary path and could execute arbitrary binaries on a host.

Upstream patch:


Comment 2 Gianluca Gabrielli 2021-02-08 17:33:32 UTC
An improper limitation of path name vulnerability was found in containernetworking/cni. 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. An attacker can use this to execute other existing binaries other than the cni plugins/types such as `reboot`.