HighGHSA-3fx4-7f69-5mmgCVE-2016-9123GO-2020-0009
Integer Overflow in go-jose
Published 23 Jun 2021 · Updated 6 Jul 2026
Is your project on an affected github.com/square/go-jose?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.0.0-20160903044734-789a4c4bd4c1
- Fixed in
- 0.0.0-20160903044734-789a4c4bd4c1
Update to the fixed version for your release line, for example:
go get github.com/square/go-jose@v0.0.0-20160903044734-789a4c4bd4c1Details
go-jose before 1.0.5 suffers from a CBC-HMAC integer overflow on 32-bit architectures. An integer overflow could lead to authentication bypass for CBC-HMAC encrypted ciphertexts on 32-bit architectures.
Is GHSA-3fx4-7f69-5mmg 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/square/go-jose, and gives you the command that fixes it.
More advisories for github.com/square/go-jose
- LowCVE-2025-27144DoS in go-jose Parsing in github.com/go-jose/go-jose · 3 Mar 2025
- MediumGHSA-2c7c-3mj9-8fqhDecryption of malicious PBES2 JWE objects can consume unbounded system resources · 21 Nov 2023
- LowGO-2023-2334Denial of service via decryption of malicious PBES2 JWE objects in github.com/go-jose/go-jose/v3 · 21 Nov 2023
- CriticalCVE-2016-9121Elliptic Curve Key Disclosure in go-jose · 23 Jun 2021
- LowCVE-2016-9121Elliptic curve key disclosure in github.com/square/go-jose · 14 Apr 2021
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.