{"id":"CVE-2024-10846","aliases":["CVE-2024-10846","GHSA-36gq-35j3-p9r9","GO-2025-3412"],"related":[],"kind":"vulnerability","state":"published","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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"### Impact\nThe `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\n\n### Patches\ncompose-go `v2.24.1` fixed the issue\n\n### Workarounds\nThere isn't any known workaround.\n\n### References\n* https://github.com/docker/compose/issues/12235\n* https://github.com/compose-spec/compose-go/pull/703\n\n* https://github.com/compose-spec/compose-go/pull/618\n* https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10","format":"markdown","source":"ghsa"},{"lang":"en","text":"Excessive resource consumption when unmarshalling Compose file with recursive loop in github.com/compose-spec/compose-go/v2","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-01-21T20:24:02.000Z","modified":"2026-06-17T06:56:33.543Z","severity":{"scorer":"Docker","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"Docker","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.4.0","status":"affected"}],"vendor":"compose-spec","product":"compose-go","package":"compose-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"2.4.1"}],"ecosystem":"Go","package":"github.com/compose-spec/compose-go/v2","purl":"pkg:golang/github.com/compose-spec/compose-go/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"2.4.1"}],"ecosystem":"Go","package":"github.com/compose-spec/compose-go/v2","purl":"pkg:golang/github.com/compose-spec/compose-go/v2","source":"go"}],"references":[{"url":"https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9","tags":["advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250425-0008/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10846","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/docker/compose/issues/12235","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/compose-spec/compose-go/pull/618","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/compose-spec/compose-go/pull/703","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/compose-spec/compose-go","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250425-0008","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff","tags":["fix"],"sources":["go"]}],"credits":[],"assigner":"Docker","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-02-12T17:05:09.753Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-10846","url":"https://www.cve.org/CVERecord?id=CVE-2024-10846","licence":"CVE Terms of Use","modified":"2025-04-25T23:02:53.505Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-36gq-35j3-p9r9","url":"https://github.com/advisories/GHSA-36gq-35j3-p9r9","licence":"CC-BY-4.0","modified":"2025-04-28T14:09:27.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3412","url":"https://pkg.go.dev/vuln/GO-2025-3412","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:13.302Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-10846","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10846","licence":"Public domain","modified":"2026-06-17T06:56:33.543Z"}],"updatedAt":"2026-11-25T22:58:51.198Z","epss":{"score":0.00229,"percentile":0.14651,"date":"2026-12-01T12:00:22.000Z"}}