CVE-2024-10846: Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop
(updated )
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
References
- github.com/advisories/GHSA-36gq-35j3-p9r9
- github.com/compose-spec/compose-go
- github.com/compose-spec/compose-go/pull/618
- github.com/compose-spec/compose-go/pull/703
- github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9
- github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff
- github.com/docker/compose/issues/12235
- nvd.nist.gov/vuln/detail/CVE-2024-10846
Detect and mitigate CVE-2024-10846 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →