CVE-2024-10846 json
Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
published 2025-01-21 21 mo ago modified 2026-06-17 4 mo ago also GHSA-36gq-35j3-p9r9 , GO-2025-3412 , EUVD-2025-0125
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- go github.com/compose-spec/compose-go/v2 2.4.1
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250207T224745-150000.1.32.1
suse advisories SUSE-SU-2025:0429-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250130T185858-1.1
opensuse advisories openSUSE-SU-2025:14728-1
- github.com/docker/compose@d239f0f commit
- github.com/compose-spec/compose-go#618 pull request
- github.com/compose-spec/compose-go#703 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-10846 updated cvss 5.9
compose-go: Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/compose-spec/compose-go/v2 | >=2.1.0, <2.4.1 |
2.4.1 |
Affected products
- compose-spec compose-go
Classification
References
-
github.com
/compose-spec/compose-go/pull/618
web, patch
-
github.com
/compose-spec/compose-go/pull/703
web, patch
-
github.com
/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061
web
-
github.com
/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff
patch
-
github.com
/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9
web, advisory
- security.netapp.com /advisory/ntap-20250425-0008/
-
nvd.nist.gov
/vuln/detail/CVE-2024-10846
advisory
-
github.com
/docker/compose/issues/12235
web
-
github.com
/compose-spec/compose-go
package
-
security.netapp.com
/advisory/ntap-20250425-0008
web
Sources
- CVE List CVE-2024-10846
- GitHub Advisory GHSA-36gq-35j3-p9r9
- NVD CVE-2024-10846
- OSV GO-2025-3412
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.