CVE-2022-23648: Insecure handling of image volumes in containerd CRI plugin

Published Mar 2, 2022
·
Updated

Impact

A bug was found in containerd where containers launched through containerd’s CRI implementation 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.

Patches

This bug has been fixed in containerd 1.6.1, 1.5.10 and 1.4.13. Users should update to these versions to resolve the issue.

Workarounds

Ensure that only trusted images are used.

Credits

The containerd project would like to thank Felix Wilhelm of Google Project Zero for responsibly disclosing this issue in accordance with the containerd security policy.

For more information

If you have any questions or comments about this advisory:

Open an issue in containerd Email us at security@containerd.io

Other sources

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 Software

24 affected componentsFixes available
go/github.com/containerd/containerd>=1.6.0<1.6.1
1.6.1
go/github.com/containerd/containerd>=1.5.0<1.5.10
1.5.10
go/github.com/containerd/containerd<1.4.13
1.4.13
linuxfoundation Containerd<1.4.13
linuxfoundation Containerd>=1.5.0<1.5.10
linuxfoundation Containerd>=1.6.0<1.6.1
Debian Debian Linux=11.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
alpine/containerd>=1.5.0<1.5.10-r0
1.5.10-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
alpine/containerd>=1.6.0<1.6.1-r0
1.6.1-r0
debian/containerd<1.6.1~ds1-1
1.6.1~ds1-1
debian/containerd<1.6.1~ds1-1
1.6.1~ds1-1
debian/containerd<1.6.1~ds1-1
1.6.1~ds1-1
debian/containerd
1.4.13~ds1-1~deb11u11.6.1~ds1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/containerd/containerd to a version that resolves this vulnerability.

    Fixed in 1.6.1
  2. Upgrade

    Upgrade go/github.com/containerd/containerd to a version that resolves this vulnerability.

    Fixed in 1.5.10
  3. Upgrade

    Upgrade go/github.com/containerd/containerd to a version that resolves this vulnerability.

    Fixed in 1.4.13
  4. Upgrade

    Upgrade alpine/containerd to a version that resolves this vulnerability.

    Fixed in 1.5.10-r0
  5. Upgrade

    Upgrade alpine/containerd to a version that resolves this vulnerability.

    Fixed in 1.6.1-r0
  6. Upgrade

    Upgrade debian/containerd to a version that resolves this vulnerability.

    Fixed in 1.6.1~ds1-1
  7. Upgrade

    Upgrade debian/containerd to a version that resolves this vulnerability.

    Fixed in 1.4.13~ds1-1~deb11u1Fixed in 1.6.1~ds1-1
  8. Upgrade

    Upgrade containerd to a version that resolves this vulnerability.

    Fixed in 1.6.1
  9. Upgrade

    Upgrade containerd to a version that resolves this vulnerability.

    Fixed in 1.5.10
  10. Upgrade

    Upgrade containerd to a version that resolves this vulnerability.

    Fixed in 1.4.13
  11. Upgrade

    Upgrade containerd to a version that resolves this vulnerability.

    Fixed in 1.4.12
  12. Compensating control

    Ensure that only trusted images are used.

Event History

Mar 2, 2022
Advisory Published
via GitHub·09:33 PM
Data Sourced
via GitHub·09:33 PM
DescriptionSeverityWeaknessAffected Software
Mar 3, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionAffected Software
Mar 25, 2022
Exploit Published
via GitHub·07:43 PM
Jan 31, 2024
Advisory Published
via GitHub·03:32 PM
Nov 3, 2026
Data Sourced
via OSV·08:02 AM
Severity
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-23648?

The severity of CVE-2022-23648 is high with a CVSS score of 7.5.

2

Which versions of containerd are affected by CVE-2022-23648?

containerd versions prior to 1.4.13, 1.5.10, and 1.6.1 are affected by CVE-2022-23648.

3

How can containers launch through containerd's CRI implementation be exploited by CVE-2022-23648?

Containers launched through containerd's CRI implementation on Linux with a specially-crafted image configuration can gain unauthorized read access.

4

Is containerd affected on Windows by CVE-2022-23648?

No, containerd on Windows is not affected by CVE-2022-23648.

5

How can I fix CVE-2022-23648 in containerd?

To fix CVE-2022-23648, update containerd to versions 1.6.1, 1.5.10, or 1.4.13, depending on the affected version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203