Medium
Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
Type: advisorySources: OSV
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-10846
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:53 UTC · Revision 1
Source evidence
Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
core-osv · Original sourcePublished 23 Jan 2025, 15:22 UTC
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
osv:CVE-2024-10846
Complete source record
{
"id": "4905ac2e5634ea81f93c06338d6cb704b1f2e8f20a613e1195758e1c667b1339",
"url": "https://osv.dev/vulnerability/CVE-2024-10846",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop",
"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",
"evidence": "osv:CVE-2024-10846",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-10846",
"aliases": [
"CVE-2024-10846",
"GHSA-36gq-35j3-p9r9",
"GO-2025-3412"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/compose-spec/compose-go",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "156e22d6102a6e9eb8f727a09f3735ffb7f4e38b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.6",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0-rc.8",
"v2.0.0-rc.7",
"v2.0.0-rc.6",
"v2.0.0-rc.5",
"v2.0.0-rc.4",
"v2.0.0-rc.3",
"v2.0.0-rc.2",
"v2.0.0-rc.1",
"v2.0.0-beta.3",
"v2.0.0-beta.2",
"v2.0.0-beta.1",
"v1.20.0",
"v1.19.0",
"v1.18.4",
"v1.18.3",
"v1.18.2",
"v1.18.1",
"v1.18.0",
"v1.17.0",
"v1.16.0",
"v1.15.1",
"v1.15.0",
"v1.14.0",
"v1.13.5",
"v1.13.4",
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0",
"v1.12.0",
"v1.11.0",
"v1.10.0",
"v1.9.0",
"v1.8.2",
"v1.8.1",
"v1.7.1",
"v1.8.0",
"v1.7.0",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.9",
"v1.2.8",
"v1.2.7",
"v1.2.6",
"v1.2.5",
"v1.2.4",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.0",
"v1.0.9",
"v1.0.8",
"v1.0.6",
"v1.0.7",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10846.json"
}
}
],
"modified": "2026-10-28T02:30:28.247560859Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10846.json",
"https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9",
"https://nvd.nist.gov/vuln/detail/CVE-2024-10846",
"https://security.netapp.com/advisory/ntap-20250425-0008/",
"https://github.com/compose-spec/compose-go"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "Docker",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10846.json"
}
},
"related_cves": [
{
"value": "CVE-2024-10846",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494735,
"published_at": "2025-01-23T15:22:56.17+00:00"
}