Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2022-23648 EUVD-2022-1411GHSA-crp2-qrr5-8pq7GO-2022-0344

Insecure handling of image volumes in containerd CRI plugin

Published Mar 3, 2022 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

containerd is a container runtime available as a daemon for Linux and Windows. A bug was found in containerd prior to versions 1.6.1, 1.5.10, and 1.14.12 where containers launched through containerd’s CRI implementation on Linux with a specially-crafted image configuration could gain access to read-only copies of arbitrary files and directories on the host. This may bypass any policy-based enforcement on container setup (including a Kubernetes Pod Security Policy) and expose potentially sensitive information. Kubernetes and crictl can both be configured to use containerd’s CRI implementation. This bug has been fixed in containerd 1.6.1, 1.5.10, and 1.4.12. Users should update to these versions to resolve the issue.

Affected products

VendorProductAffectedFixed
containerd containerd < 1.4.13, >= 1.5.0, < 1.5.10, >= 1.6.0, < 1.6.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 containerd 1.6.1~ds1-1 —
Debian 13 containerd 1.6.1~ds1-1 —
Debian 12 containerd 1.6.1~ds1-1 —
Debian 11 containerd 1.4.13~ds1-1~deb11u1 DSA-5091-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS containerd 1.5.9-0ubuntu2 —
Ubuntu 20.04 LTS containerd 1.5.9-0ubuntu1~20.04.4 USN-5311-2, USN-5311-1
Ubuntu 18.04 LTS containerd 1.5.5-0ubuntu3~18.04.2 USN-5311-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS containerd 1.2.6-0ubuntu1~16.04.6+esm2 USN-5521-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES 15 SP4 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLES 15 SP3 containerd 1.4.12-63.1 SUSE-SU-2022:1689-1, SUSE-SU-2022:0720-1
SLES 15 SP3 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLES 15 SP2 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES 15 SP2 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLES 15 SP1 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES 15 SP1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLES 15 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES 15 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 containerd 1.4.13-16.54.1 SUSE-SU-2022:1507-1, SUSE-SU-2022:0719-1
SLES 12 docker 20.10.14_ce-98.80.1 SUSE-SU-2022:1507-1
SLES for SAP 15 SP2 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES for SAP 15 SP2 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLES for SAP 15 SP1 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES for SAP 15 SP1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLES for SAP 15 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLES for SAP 15 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLE Micro 5.2 containerd 1.4.12-63.1 SUSE-SU-2022:1689-1, SUSE-SU-2022:0720-2
SLE Micro 5.2 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLE Micro 5.1 containerd 1.4.12-63.1 SUSE-SU-2022:1689-1, SUSE-SU-2022:0720-1
SLE Micro 5.1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLE Micro 5.0 containerd 1.4.12-63.1 SUSE-SU-2022:1689-1, SUSE-SU-2022:0720-1
SLE Micro 5.0 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLE HPC 15 SP2 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLE HPC 15 SP2 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLE HPC 15 SP1 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLE HPC 15 SP1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SLE HPC 15 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SLE HPC 15 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SUSE Package Hub 15 SP4 trivy 0.28.0-bp154.2.3.1 openSUSE-SU-2022:10022-1
SUSE Package Hub 15 SP3 trivy 0.30.4-bp153.8.1 openSUSE-SU-2022:10094-1
SUSE Manager Server 4.1 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SUSE Manager Server 4.1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SUSE Manager Retail Branch Server 4.1 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SUSE Manager Retail Branch Server 4.1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SUSE Manager Proxy 4.1 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SUSE Manager Proxy 4.1 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SUSE Enterprise Storage 7 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SUSE Enterprise Storage 7 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
SUSE Enterprise Storage 6 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
SUSE Enterprise Storage 6 docker 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed containerd 1.4.13-1.1 openSUSE-SU-2024:11891-1
openSUSE Tumbleweed trivy 0.26.0-1.1 openSUSE-SU-2024:12008-1
openSUSE Leap 15.4 containerd 1.5.11-150000.68.1 SUSE-SU-2022:1689-1
openSUSE Leap 15.4 docker +1 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
openSUSE Leap 15.4 trivy 0.28.0-bp154.2.3.1 openSUSE-SU-2022:10022-1
openSUSE Leap 15.3 containerd 1.4.12-63.1 openSUSE-SU-2022:0720-1, SUSE-SU-2022:1689-1
openSUSE Leap 15.3 docker +1 20.10.14_ce-150000.163.1 SUSE-SU-2022:1689-1
openSUSE Leap 15.3 trivy 0.30.4-bp153.8.1 openSUSE-SU-2022:10094-1
ReleasePackageFixed inAdvisory
Alpine v3.24 containerd 1.6.1-r0 —
Alpine v3.23 containerd 1.6.1-r0 —
Alpine v3.22 containerd 1.6.1-r0 —
Alpine v3.21 containerd 1.6.1-r0 —
Alpine v3.20 containerd 1.6.1-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 containerd 1.6.1-r0 —
Alpine v3.18 containerd 1.6.1-r0 —
Alpine v3.17 containerd 1.6.1-r0 —
Alpine v3.16 containerd 1.6.1-r0 —
Alpine v3.15 containerd 1.5.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 containerd +1 1.6.8-2.amzn2023.0.3 ALAS2023-2023-079

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ctop 0.7.7-r13 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containerd/containerd < 1.4.13 1.4.13 GHSA-crp2-qrr5-8pq7
Go github.com/containerd/containerd >= 1.5.0, < 1.5.10 1.5.10 GHSA-crp2-qrr5-8pq7
Go github.com/containerd/containerd >= 1.6.0, < 1.6.1 1.6.1 GHSA-crp2-qrr5-8pq7
Go github.com/containerd/containerd < 1.4.13 · >= 1.5.0, < 1.5.10 · >= 1.6.0, < 1.6.1 1.4.13, 1.5.10, 1.6.1 GO-2022-0344

Advisories 16

References