cve.bz

CVE-2024-10846 compose-spec compose-go: Improper Input Validation

5.9 mediumEPSS 0.2%Fix available

Medium (5.9) in compose-spec compose-go. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/compose-spec/compose-go/v2 2.4.1.

On this page
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

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-10846 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10846?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10846?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-10846 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
compose-spec compose-gothrough 2.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-36gq-35j3-p9r9Gogithub.com/compose-spec/compose-go/v2>=2.1.0 <2.4.12.4.1
GO-2025-3412Gogithub.com/compose-spec/compose-go/v2>=2.1.0 <2.4.12.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250207T224745-150000.1.32.1SUSE-SU-2025:0429-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250130T185858-1.1openSUSE-SU-2025:14728-1
Azure Linux3docker-compose2.27.0-4AZL-55947

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON