VDB
Sign up
—

GO-2025-3412

Excessive resource consumption when unmarshalling Compose file with recursive loop in github.com/compose-spec/compose-go/v2

Quick fix

GO-2025-3412 — github.com/compose-spec/compose-go/v2: upgrade to the fixed version with the command below.

go get github.com/compose-spec/compose-go/v2@v2.4.1

Details

Excessive resource consumption when unmarshalling Compose file with recursive loop in github.com/compose-spec/compose-go/v2

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/compose-spec/compose-go/v2
Introduced in: 2.1.0Fixed in: 2.4.1
Fixgo get github.com/compose-spec/compose-go/v2@v2.4.1

References