Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/compose-spec/compose-go/v2: GHSA-36gq-35j3-p9r9 #3412

Open
GoVulnBot opened this issue Jan 21, 2025 · 0 comments

Comments

@GoVulnBot
Copy link

Advisory GHSA-36gq-35j3-p9r9 references a vulnerability in the following Go modules:

Module
github.com/compose-spec/compose-go
github.com/compose-spec/compose-go/v2

Description:

Impact

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

Patches

compose-go v2.24.1 fixed the issue

Workarounds

There isn't any known workaround.

References

References:

No existing reports found with this module or alias.
See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/compose-spec/compose-go
      vulnerable_at: 1.20.2
    - module: github.com/compose-spec/compose-go/v2
      versions:
        - introduced: 2.1.0
        - fixed: 2.4.1
      vulnerable_at: 2.4.0
summary: |-
    Excessive Platform Resource Consumption within a Loop when unmarshalling Compose
    file having recursive loop in github.com/compose-spec/compose-go
cves:
    - CVE-2024-10846
ghsas:
    - GHSA-36gq-35j3-p9r9
references:
    - advisory: https://github.com/advisories/GHSA-36gq-35j3-p9r9
    - advisory: https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9
    - fix: https://github.com/compose-spec/compose-go/pull/618
    - fix: https://github.com/compose-spec/compose-go/pull/703
    - fix: https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10
    - report: https://github.com/docker/compose/issues/12235
source:
    id: GHSA-36gq-35j3-p9r9
    created: 2025-01-21T21:01:28.692711154Z
review_status: UNREVIEWED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant