Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-10846 EUVD-2025-0125GHSA-36gq-35j3-p9r9GO-2025-3412

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

Published Jan 23, 2025 · Updated Apr 25, 2025 · Assigned by Docker

Description

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

Affected products

VendorProductAffectedFixed
compose-spec compose-go ≤ 2.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250207T224745-150000.1.32.1 SUSE-SU-2025:0429-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250130T185858-1.1 openSUSE-SU-2025:14728-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250207T224745-150000.1.32.1 SUSE-SU-2025:0429-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 docker-compose 2.27.0-4 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/compose-spec/compose-go/v2 >= 2.1.0, < 2.4.1 2.4.1 GHSA-36gq-35j3-p9r9

Advisories 2

References