GitHub Advisoryadvisory · Go

GHSA-77gc-fj98-665h Go JOSE Signature Validation Bypass

HIGH Published 2021-05-18 Modified 2024-05-20 Official page ↗
Aliases
CVE-2016-9122
Ecosystem
Go
Packages
gopkg.in/square/go-jose.v1
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-284
Reviewed
2021-05-12

Affected packages

• Go gopkg.in/square/go-jose.v1: < 1.1.0 → fixed in 1.1.0

Description

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

Related

Alias · CVE (1)

  • CVE-2016-9122 go-jose before 1.0.4 suffers from multiple signatures exploitation. vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References