{"id":"CVE-2024-10846","aliases":["GHSA-36gq-35j3-p9r9","GO-2025-3412"],"url":"https://o3.security/vulnerability/CVE-2024-10846","summary":"Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop","details":"### 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","published":"2025-01-23T15:22:56.170Z","modified":"2026-08-12T03:51:36.945249094Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/compose-spec/compose-go/v2","fixedVersion":"2.4.1"}],"fix":{"url":"https://github.com/compose-spec/compose-go/pull/618","label":"compose-spec/compose-go#618"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10846.json"},{"type":"ADVISORY","url":"https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10846"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250425-0008/"},{"type":"PACKAGE","url":"https://github.com/compose-spec/compose-go"},{"type":"WEB","url":"https://github.com/docker/compose/issues/12235"},{"type":"WEB","url":"https://github.com/compose-spec/compose-go/pull/618"},{"type":"WEB","url":"https://github.com/compose-spec/compose-go/pull/703"},{"type":"WEB","url":"https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250425-0008"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:36.945249094Z"}}