CVE-2022-23648Insecure handling of image volumes in containerd CRI plugin
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.
What to do
Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | containerd | Fixed | 1.5.9-0ubuntu2 | UBUNTU-CVE-2022-23648 |
| Ubuntu 20.04 | containerd | Fixed | 1.5.9-0ubuntu1~20.04.4 | UBUNTU-CVE-2022-23648 |
| Ubuntu 18.04 | containerd | Fixed | 1.5.5-0ubuntu3~18.04.2 | UBUNTU-CVE-2022-23648 |
| Ubuntu 16.04 | containerd | Fix pending | ||
| Debian 14 | containerd | Fixed | 1.6.1~ds1-1 | DEBIAN-CVE-2022-23648 |
| Debian 13 | containerd | Fixed | 1.6.1~ds1-1 | DEBIAN-CVE-2022-23648 |
| Debian 12 | containerd | Fixed | 1.6.1~ds1-1 | DEBIAN-CVE-2022-23648 |
| Alpine Linux 3.24 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.23 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.22 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.21 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.20 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.19 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.18 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.17 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.16 | containerd | Fixed | 1.6.1-r0 | ALPINE-CVE-2022-23648 |
| Alpine Linux 3.15 | containerd | Fixed | 1.5.10-r0 | ALPINE-CVE-2022-23648 |
| Go library | github.com/containerd/containerd | Fixed | 1.6.1 | GHSA-crp2-qrr5-8pq7 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- containerd: affected: < 1.4.13, >= 1.5.0, < 1.5.10, >= 1.6.0, < 1.6.1
Vendor advisories:
- https://www.debian.org/security/2022/dsa-5091 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202401-31 (vendor-advisory)
References
- https://github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7
- https://github.com/containerd/containerd/commit/10f428dac7cec44c864e1b830a4623af27a9fc70
- https://github.com/containerd/containerd/releases/tag/v1.4.13
- https://github.com/containerd/containerd/releases/tag/v1.5.10
- https://github.com/containerd/containerd/releases/tag/v1.6.1
- https://www.debian.org/security/2022/dsa-5091
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OCCARJ6FU4MWBTXHZNMS7NELPDBIX2VO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AUDQUQBZJGBWJPMRVB6QCCCRF7O3O4PA/
- http://packetstormsecurity.com/files/166421/containerd-Image-Volume-Insecure-Handling.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HFTS2EF3S7HNYSNZSEJZIJHPRU7OPUV3/
- https://security.gentoo.org/glsa/202401-31
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.