ADVISORIES

Go Vulnerability Database

GO-2024-2631

Decompression bomb vulnerability in github.com/go-jose/go-jose

Details

An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/go-jose/go-jose/v4
All versions before 4.0.1 (fixed in 4.0.1)
Gogithub.com/go-jose/go-jose/v3
All versions before 3.0.3 (fixed in 3.0.3)
Gogopkg.in/go-jose/go-jose.v2
All versions before 2.6.3 (fixed in 2.6.3)
Gogopkg.in/square/go-jose.v2
All versions, no fix listed

References