All reports
Medium

Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop

Affected versions

Version ranges need review.

Affected versions
>=2.1.0 <2.4.1
Fixed version
2.4.1
Affected versions
>= 2.1.0, < 2.4.1
Fixed version
2.4.1

Exploitation

CVE-2024-10846

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-20

Description

Impact

The compose-go library component in versions v2.10-v2.4.0 allows an authorized user who sends malicious YAML payloads to cause the compose-go to consume excessive amount of Memory and CPU cycles while parsing YAML, such as used by Docker Compose from versions v2.27.0 to v2.29.7 included

Patches

compose-go v2.24.1 fixed the issue

Workarounds

There isn't any known workaround.

References

Links

Credits

  • ahollmann
  • idsulik
  • thaJeztah
  • glours
  • gbrindisi