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.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Container_network_interface | Linuxfoundation | * | 0.8.1 (excluding) |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4/ose-docker-builder:v4.7.0-202103270130.p0 | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4/ose-sriov-cni:v4.7.0-202103270130.p0 | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4/ose-sriov-infiniband-cni:v4.7.0-202104281843.p0 | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4/ose-container-networking-plugins-rhel8:v4.7.0-202201261537.p0.ga3cf46b.assembly.stream | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | openshift4-wincw/windows-machine-config-rhel8-operator:2.0.5-4 | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | openshift4/ose-container-networking-plugins-rhel8:v4.8.0-202106291913.p0.git.a8801b0.assembly.stream | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | openshift4/ose-docker-builder:v4.8.0-202107152024.p0.git.70b7b95.assembly.stream | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | openshift4-wincw/windows-machine-config-rhel8-operator:3.0.0-16 | * |
Red Hat OpenShift Virtualization 2 | RedHat | kubevirt-cpu-model-nfd-plugin-container | * |
Red Hat OpenShift Virtualization 2 | RedHat | kubevirt-cpu-node-labeller-container | * |
Red Hat OpenShift Virtualization 2 | RedHat | kubevirt-kvm-info-nfd-plugin-container | * |
Red Hat OpenShift Virtualization 2 | RedHat | vm-import-controller-container | * |
Golang-github-appc-cni | Ubuntu | bionic | * |
Golang-github-appc-cni | Ubuntu | focal | * |
Golang-github-appc-cni | Ubuntu | groovy | * |
Golang-github-appc-cni | Ubuntu | hirsute | * |
Golang-github-appc-cni | Ubuntu | impish | * |
Golang-github-appc-cni | Ubuntu | kinetic | * |
Golang-github-appc-cni | Ubuntu | lunar | * |
Golang-github-appc-cni | Ubuntu | mantic | * |
Golang-github-appc-cni | Ubuntu | oracular | * |
Golang-github-appc-cni | Ubuntu | trusty | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.