LowGO-2024-2631CVE-2024-28180GHSA-c5q2-7r4c-mv6g
Decompression bomb vulnerability in github.com/go-jose/go-jose
Published 15 Mar 2024 · Updated 4 Feb 2026
Is your project on an affected github.com/go-jose/go-jose/v4?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <4.0.1
- Fixed in
- 4.0.1
Update to the fixed version for your release line, for example:
go get github.com/go-jose/go-jose/v4@v4.0.1- Affected
- <3.0.3
- Fixed in
- 3.0.3
Update to the fixed version for your release line, for example:
go get github.com/go-jose/go-jose/v3@v3.0.3- Affected
- <2.6.3
- Fixed in
- 2.6.3
Update to the fixed version for your release line, for example:
go get gopkg.in/go-jose/go-jose.v2@v2.6.3- Affected
- All versions
- Fixed in
- No fix released
Details
An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti.
Is GO-2024-2631 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/go-jose/go-jose/v4, and gives you the command that fixes it.
More advisories for github.com/go-jose/go-jose/v4
- MediumCVE-2026-116586Go JOSE: Panics in JSON parsing · 28 Oct 2026
- MediumCVE-2026-116585Go JOSE: Panic during CBC-HMAC processing · 28 Oct 2026
- HighCVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keys · 27 Oct 2026
- LowCVE-2026-34986Go JOSE Panics in JWE decryption in github.com/go-jose/go-jose · 26 May 2026
- HighCVE-2026-34986Go JOSE Panics in JWE decryption · 3 Apr 2026
- LowCVE-2025-27144DoS in go-jose Parsing in github.com/go-jose/go-jose · 3 Mar 2025
References
- Advisorygithub.com/go-jose/go-jose/security/advisories/GHSA-c5q2-7r4c-mv6g
- Fixgithub.com/go-jose/go-jose/commit/0dd4dd541c665fb292d664f77604ba694726f298
- Fixgithub.com/go-jose/go-jose/commit/add6a284ea0f844fd6628cba637be5451fe4b28a
- Fixgithub.com/go-jose/go-jose/commit/f4c051a0653d78199a053892f7619ebf96339502
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.