CVE-2024-10846
MEDIUM 5.9CVSS 3.1Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
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
- Published
- 23 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@docker.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-36gq-35j3-p9r9GO-2025-3412
- Sources
- NVDJSONOSV GHSA-36gq-35j3-p9r9JSONOSV GO-2025-3412JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@docker.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/compose-spec/compose-go/v2 | >= 2.1.0, < 2.4.1 | 2.4.1 |
References
- https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9 · WEB, ADVISORY
- https://security.netapp.com/advisory/ntap-20250425-0008/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-10846 · ADVISORY
- https://github.com/docker/compose/issues/12235 · WEB
- https://github.com/compose-spec/compose-go/pull/618 · WEB, FIX
- https://github.com/compose-spec/compose-go/pull/703 · WEB, FIX
- https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10 · WEB
- https://github.com/compose-spec/compose-go · PACKAGE
- https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff · FIX
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 23 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Jan 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jan 2025)