Skip to content
OpenAdvisories
High · 7.2 CVE-2021-20206 EUVD-2022-1255GHSA-xjqr-g762-pxwpGO-2022-0230SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549

containernetworking/cni improper limitation of path name

Published Mar 26, 2021 · Updated Aug 3, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— containernetworking-cni containernetworking/cni 0.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-appc-cni 0.8.1-1 —
Debian 13 golang-github-appc-cni 0.8.1-1 —
Debian 12 golang-github-appc-cni 0.8.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-appc-cni No fix yet —
Ubuntu 26.04 LTS golang-github-appc-cni No fix yet —
Ubuntu 25.10 golang-github-appc-cni No fix yet —
Ubuntu 24.04 LTS golang-github-appc-cni No fix yet —
Ubuntu 22.04 LTS golang-github-appc-cni No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-github-appc-cni No fix yet —
Ubuntu 18.04 LTS golang-github-appc-cni No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 buildah 1.27.1-150400.3.8.1 SUSE-SU-2022:3655-1
SLES 15 SP4 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLES 15 SP4 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLES 15 SP4 podman 4.3.1-150400.4.11.1 SUSE-SU-2023:0187-1
SLES 15 SP3 buildah 1.23.1-150300.8.3.1 SUSE-SU-2022:3766-1, SUSE-SU-2022:0770-1
SLES 15 SP3 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLES 15 SP3 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLES 15 SP3 libgpg-error 1.42-150300.9.3.1 SUSE-SU-2022:3766-1
SLES 15 SP3 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
SLES 15 SP2 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLES 15 SP2 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLES 15 SP2 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLES 15 SP1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLES 15 SP1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLES 15 SP1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLES 15 cni 0.7.1-150000.1.7.1 SUSE-SU-2022:4150-1
SLES 15 cni-plugins 0.8.6-150000.1.7.1 SUSE-SU-2022:4151-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
SLES for SAP 15 SP2 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLES for SAP 15 SP2 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLES for SAP 15 SP2 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLES for SAP 15 SP1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLES for SAP 15 SP1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLES for SAP 15 SP1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLE Micro 5.3 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLE Micro 5.3 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLE Micro 5.3 podman 4.3.1-150400.4.11.1 SUSE-SU-2023:0187-1
SLE Micro 5.2 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLE Micro 5.2 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLE Micro 5.2 libgpg-error 1.42-150300.9.3.1 SUSE-SU-2022:3766-1
SLE Micro 5.2 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
SLE Micro 5.1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLE Micro 5.1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLE Micro 5.1 libgpg-error 1.42-150300.9.3.1 SUSE-SU-2022:3766-1
SLE Micro 5.1 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
SLE HPC 15 SP3 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
SLE HPC 15 SP2 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLE HPC 15 SP2 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLE HPC 15 SP2 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SLE HPC 15 SP1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SLE HPC 15 SP1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SLE HPC 15 SP1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SUSE Manager Server 4.1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Manager Server 4.1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SUSE Manager Server 4.1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SUSE Manager Retail Branch Server 4.1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Manager Retail Branch Server 4.1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SUSE Manager Retail Branch Server 4.1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SUSE Manager Proxy 4.1 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Manager Proxy 4.1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SUSE Manager Proxy 4.1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SUSE Enterprise Storage 7.1 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SUSE Enterprise Storage 7.1 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SUSE Enterprise Storage 7.1 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
SUSE Enterprise Storage 7 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Enterprise Storage 7 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SUSE Enterprise Storage 7 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
SUSE Enterprise Storage 6 buildah 1.25.1-150100.3.13.12 SUSE-SU-2022:3480-1
SUSE Enterprise Storage 6 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
SUSE Enterprise Storage 6 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed buildah 1.23.0-1.1 openSUSE-SU-2024:10666-1
openSUSE Tumbleweed cni 1.0.1-3.1 openSUSE-SU-2024:12512-1
openSUSE Tumbleweed cni-plugins 1.1.1-2.1 openSUSE-SU-2024:12513-1
openSUSE Tumbleweed podman 4.2.0-2.1 openSUSE-SU-2024:12371-1
openSUSE Leap 15.4 buildah 1.27.1-150400.3.8.1 SUSE-SU-2022:3655-1
openSUSE Leap 15.4 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
openSUSE Leap 15.4 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
openSUSE Leap 15.4 podman 4.3.1-150400.4.11.1 SUSE-SU-2023:0187-1
openSUSE Leap 15.3 buildah 1.23.1-150300.8.3.1 openSUSE-SU-2022:0770-1, SUSE-SU-2022:3766-1
openSUSE Leap 15.3 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
openSUSE Leap 15.3 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
openSUSE Leap 15.3 libgpg-error 1.42-150300.9.3.1 SUSE-SU-2022:3766-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
openSUSE Leap Micro 5.3 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
openSUSE Leap Micro 5.3 podman 4.3.1-150400.4.11.1 SUSE-SU-2023:0187-1
openSUSE Leap Micro 5.2 cni 0.7.1-150100.3.8.1 SUSE-SU-2022:4592-1
openSUSE Leap Micro 5.2 cni-plugins 0.8.6-150100.3.11.1 SUSE-SU-2022:4593-1
openSUSE Leap Micro 5.2 libgpg-error 1.42-150300.9.3.1 SUSE-SU-2022:3766-1
openSUSE Leap Micro 5.2 podman 4.3.1-150300.9.15.1 SUSE-SU-2023:0326-1
ReleasePackageFixed inAdvisory
Alpine v3.24 buildah 1.19.4-r0 —
Alpine v3.23 buildah 1.19.4-r0 —
Alpine v3.22 buildah 1.19.4-r0 —
Alpine v3.21 buildah 1.19.4-r0 —
Alpine v3.20 buildah 1.19.4-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 buildah 1.19.4-r0 —
Alpine v3.18 buildah 1.19.4-r0 —
Alpine v3.17 buildah 1.19.4-r0 —
Alpine v3.16 buildah 1.19.4-r0 —
Alpine v3.15 buildah 1.19.4-r0 —
Alpine v3.14 buildah 1.19.4-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 buildah 1.41.4-2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containernetworking/cni < 0.8.1 0.8.1 GHSA-xjqr-g762-pxwp

Advisories 16

References