Vulnerabilities / CVE-2016-9121

critical

CVE-2016-9121

go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH ...

Published Modified CWE 326
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GHSA9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.

Description

go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm. When deriving a shared key using ECDH-ES for an encrypted message, go-jose neglected to check that the received public key on a message is on the same curve as the static private key of the receiver, thus making it vulnerable to an invalid curve attack.

Affected packages and fixed versions

SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/square/go-jose, gopkg.in/square/go-jose.v11.0.4
chainguardharbor-2.14, harbor-fips-2.140
debian 11golang-gopkg-square-go-jose.v11.0.5-1
debian 12golang-gopkg-square-go-jose.v11.0.5-1
debian 13golang-gopkg-square-go-jose.v11.0.5-1
debian 14golang-gopkg-square-go-jose.v11.0.5-1
echogolang-gopkg-square-go-jose.v11.0.5-1
Show all 9 entries from 7 sources
SourcePackageFixed in
go::GitHub Security Advisory Gogithub.com/square/go-jose1.0.4
go::GitHub Security Advisory Gogopkg.in/square/go-jose.v11.0.4
chainguardharbor-2.140
chainguardharbor-fips-2.140
debian 11golang-gopkg-square-go-jose.v11.0.5-1
debian 12golang-gopkg-square-go-jose.v11.0.5-1
debian 13golang-gopkg-square-go-jose.v11.0.5-1
debian 14golang-gopkg-square-go-jose.v11.0.5-1
echogolang-gopkg-square-go-jose.v11.0.5-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.