LowGO-2020-0010CVE-2016-9121GHSA-86r9-39j9-99wp
Elliptic curve key disclosure in github.com/square/go-jose
Published 14 Apr 2021 · Updated 20 May 2024
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
- <1.0.4
- Fixed in
- 1.0.4
Update to the fixed version for your release line, for example:
go get github.com/square/go-jose@v1.0.4Details
When using ECDH-ES an attacker can mount an invalid curve attack during decryption as the supplied public key is not checked to be on the same curve as the receivers private key.
Is GO-2020-0010 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
- HighCVE-2016-9123Integer Overflow in go-jose · 23 Jun 2021
- LowCVE-2016-9123Integer overflow in github.com/square/go-jose · 14 Apr 2021
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.