CVE-2023-25153: containerd OCI image importer memory exhaustion
Impact When importing an OCI image, there was no limit on the number of bytes read for certain files. A maliciously crafted image with a large file where a limit was not applied could cause a denial of service.
Patches
This bug has been fixed in containerd 1.6.18 and 1.5.18. Users should update to these versions to resolve the issue.
Workarounds
Ensure that only trusted images are used and that only trusted users have permissions to import images.
Credits
The containerd project would like to thank David Korczynski and Adam Korczynski of ADA Logics for responsibly disclosing this issue in accordance with the containerd security policy during a security fuzzing audit sponsored by CNCF.
For more information
If you have any questions or comments about this advisory:
Open an issue in containerd Email us at security@containerd.io
To report a security issue in containerd: Report a new vulnerability Email us at security@containerd.io
Other sources
containerd is an open source container runtime. Before versions 1.6.18 and 1.5.18, when importing an OCI image, there was no limit on the number of bytes read for certain files. A maliciously crafted image with a large file where a limit was not applied could cause a denial of service. This bug has been fixed in containerd 1.6.18 and 1.5.18. Users should update to these versions to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-25153?
CVE-2023-25153 is a vulnerability in the containerd open source container runtime that allows a specially crafted image with a large file to cause a denial of service (DoS) attack.
What is the severity of CVE-2023-25153?
The severity of CVE-2023-25153 is medium with a CVSS score of 5.5.
How does CVE-2023-25153 affect containerd?
CVE-2023-25153 affects containerd versions 1.5.18 and earlier, as well as versions 1.6.0 to 1.6.17. Later versions are not affected.
How can I fix CVE-2023-25153?
To fix CVE-2023-25153, it is recommended to upgrade containerd to the patched versions 1.5.18 or 1.6.18.
Where can I find more information about CVE-2023-25153?
More information about CVE-2023-25153 can be found in the official containerd GitHub repository and the release notes for versions 1.5.18 and 1.6.18.