Advisory

GHSA-86r9-39j9-99wp

Also known as: CVE-2016-9121, GO-2020-0010

Summary

Elliptic Curve Key Disclosure in go-jose

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-06-23 17:17 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

gopkg.in/square/go-jose.v1

Go · All systems

Affected

  • introduced 0, fixed 1.0.4 (semver)

Fixed versions

1.0.4

Fix

github.com/square/go-jose

Go · All systems

Affected

  • introduced 0, fixed 1.0.4 (semver)

Fixed versions

1.0.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences