Advisory

GHSA-77gc-fj98-665h

Also known as: CVE-2016-9122, GO-2022-0945

Summary

Go JOSE Signature Validation Bypass

Details

Go JOSE before 1.1.0 suffers from multiple signatures exploitation. The go-jose library supports messages with multiple signatures. However, when validating a signed message the API did not indicate which signature was valid, which could potentially lead to confusion. For example, users of the library might mistakenly read protected header values from an attached signature that was different from the one originally validated

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-18 19:15 UTC
Modified
2024-05-20 21:20 UTC

Affected packages and fixes

gopkg.in/square/go-jose.v1

Go · All systems

Affected

  • introduced 0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

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