5.9medium
Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
- Severity
- 5.9medium CVSS:3.1 by Docker
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Docker
- Also known as
- GHSA-36gq-35j3-p9r9GO-2025-3412
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
| Product or package | Versions | Reported by |
|---|---|---|
| compose-go | up to 2.4.0 | CVE List |
| github.com/compose-spec/compose-go/v2 (Go) | from 2.1.0 before 2.4.1 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| Docker | 5.9medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H |
Classification
What each source says
CVE List
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
GitHub Advisory Database
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
Go Vulnerability Database
Excessive resource consumption when unmarshalling Compose file with recursive loop in github.com/compose-spec/compose-go/v2
NVD (es)
El componente compose-go library en las versiones v2.10-v2.4.0 permite que un usuario autorizado que envíe YAML payloads maliciosos haga que compose-go consuma una cantidad excesiva de memoria y ciclos de CPU mientras analiza YAML, como lo usa Docker Compose desde las versiones v2.27.0 a v2.29.7 incluidas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-10846 changed 2025-04-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-36gq-35j3-p9r9 changed 2025-04-28 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3412 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-10846 changed 2026-06-17 | Public domain |