Bug 2174473 (CVE-2023-25153)

Summary: CVE-2023-25153 containerd: OCI image importer memory exhaustion
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dcadzow, dkenigsb, fdeutsch, oramraz, phoracek, smullick
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: containerd 1.5.18, contained 1.6.18 Doc Type: ---
Doc Text:
A flaw was found in containerd. 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-01 22:16:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2174478, 2174480, 2174481, 2178328    
Bug Blocks: 2170820    

Description Anten Skrabec 2023-03-01 18:22:07 UTC
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.

Comment 1 Anten Skrabec 2023-03-01 18:26:57 UTC
Created containerd tracking bugs for this issue:

Affects: fedora-all [bug 2174478]

Comment 2 Anten Skrabec 2023-03-01 18:28:28 UTC
Created golang-github-moby-buildkit tracking bugs for this issue:

Affects: fedora-36 [bug 2174480]


Created stargz-snapshotter tracking bugs for this issue:

Affects: fedora-all [bug 2174481]

Comment 3 Product Security DevOps Team 2023-03-01 22:16:48 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 5 errata-xmlrpc 2023-11-08 14:03:29 UTC
This issue has been addressed in the following products:

  RHEL-9-CNV-4.14

Via RHSA-2023:6817 https://access.redhat.com/errata/RHSA-2023:6817