Alpine Security Database
ALPINE-CVE-2021-20206
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.14 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.15 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.16 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.17 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.18 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.19 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.20 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.21 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.22 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.23 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |
| Alpine:v3.24 | buildah | All versions before 1.19.4-r0 (fixed in 1.19.4-r0) |