CVE-2023-25153
Docker Compose vulnerability analysis and mitigation

Overview

A vulnerability was discovered in containerd (CVE-2023-25153) where when importing an OCI image, there was no limit on the number of bytes read for certain files. The vulnerability was discovered by David Korczynski and Adam Korczynski of ADA Logics during a security fuzzing audit sponsored by CNCF. The issue was fixed in containerd versions 1.5.18 and 1.6.18, released on February 16, 2023 (GitHub Advisory).

Technical details

The vulnerability stems from the lack of byte reading limits when processing certain files during OCI image imports. The fix implemented in the patch involves adding a limit to the JSON decoder by using io.LimitReader with a 20MiB limit for processing JSON files (Containerd Commit). The severity of this vulnerability is rated as Moderate and is categorized under CWE-400 (Uncontrolled Resource Consumption) (GitHub Advisory).

Impact

A maliciously crafted image with a large file where a limit was not applied could cause a denial of service, potentially affecting the availability of container services (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to update to containerd versions 1.5.18 or 1.6.18, which include the security fix. As a workaround, users should ensure that only trusted images are used and that only trusted users have permissions to import images (GitHub Advisory). Ubuntu users can update their systems to specific package versions: Ubuntu 23.04 (1.6.12-0ubuntu3.1), Ubuntu 22.10 (1.6.12-0ubuntu1~22.10.2), Ubuntu 22.04 (1.6.12-0ubuntu1~22.04.3), Ubuntu 20.04 (1.6.12-0ubuntu1~20.04.3) (Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related Docker Compose vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62725HIGH8.9
  • Docker ComposeDocker Compose
  • github.com/docker/compose/v2
NoYesOct 27, 2025
CVE-2025-47913HIGH7.5
  • PackerPacker
  • container-tools:rhel8::podman-manpages
NoYesNov 13, 2025
CVE-2025-58181MEDIUM5.3
  • cAdvisorcAdvisor
  • actions-runner-controller
NoYesNov 19, 2025
CVE-2025-47914MEDIUM5.3
  • cAdvisorcAdvisor
  • falcosidekick-fips
NoYesNov 19, 2025
CVE-2025-54388MEDIUM5.1
  • cAdvisorcAdvisor
  • cg
NoYesJul 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management