Live threats

All CVEs / compose-spec

CVE-2024-10846compose-spec compose-go

Medium 5.9

Priority
35
CVSS 3.1
5.9
EPSS
0.3%
probability of exploitation in 30 days · percentile 11
Auth required
Yes
Published
Jan 23, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for compose-go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/compose-spec/compose-go/v2 ≥ 2.1.0 < 2.4.1 2.4.1 go get github.com/compose-spec/compose-go/v2@v2.4.1
Go github.com/compose-spec/compose-go/v2 ≥ 2.1.0 < 2.4.1 2.4.1 go get github.com/compose-spec/compose-go/v2@v2.4.1

Per OSV / GitHub Advisories (GHSA-36gq-35j3-p9r9, GO-2025-3412). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.