Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2021-20206: containernetworking-cni: Arbitrary path injection via type field in CNI configuration

Back to Search

Red Hat OpenShift: CVE-2021-20206: containernetworking-cni: Arbitrary path injection via type field in CNI configuration

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
03/26/2021
Created
08/10/2021
Added
08/09/2021
Modified
05/03/2022

Description

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.

Solution(s)

  • linuxrpm-upgrade-openshift4-wincw-windows-machine-config-rhel8-operator

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;