Skip to content

CVE-2024-10846 Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop

MediumCVSS 5.9 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Docker

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

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
azure linux docker-compose(Azure Linux 3.0) < 2.27.0-4 2.27.0-4 Fixed
compose-spec github.com/compose-spec/compose-go/v2 <= 2.4.0 after 2.4.0 Fixed
compose-spec github.com/compose-spec/compose-go/v2(Go) >= 2.1.0, < 2.4.1 2.4.1 Fixed

Affected products

ProductAffected versionsFixed in
compose-spec github.com/compose-spec/compose-go/v2(Go) >= 2.1.0, < 2.4.1 2.4.1
azure linux docker-compose(Azure Linux:3.0) < 2.27.0-4 2.27.0-4
compose-spec github.com/compose-spec/compose-go/v2 <= 2.4.0 No fix listed

References