HIGH7.5
GHSA-77gc-fj98-665h
Go JOSE Signature Validation Bypass
Quick fix
GHSA-77gc-fj98-665h — gopkg.in/square/go-jose.v1: upgrade to the fixed version with the command below.
go get gopkg.in/square/go-jose.v1@v1.1.0Details
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
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/gopkg.in/square/go-jose.v1
Introduced in:
0Fixed in: 1.1.0Fix
go get gopkg.in/square/go-jose.v1@v1.1.0References
- https://nvd.nist.gov/vuln/detail/CVE-2016-9122[ADVISORY]
- https://github.com/square/go-jose/pull/111[WEB]
- https://github.com/square/go-jose/commit/2c5656adca9909843c4ff50acf1d2cf8f32da7e6[WEB]
- https://github.com/square/go-jose/commit/789a4c4bd4c118f7564954f441b29c153ccd6a96[WEB]
- https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507[WEB]
- https://hackerone.com/reports/169629[WEB]
- https://github.com/square/go-jose[PACKAGE]
- https://www.openwall.com/lists/oss-security/2016/11/03/1[WEB]
- http://www.openwall.com/lists/oss-security/2016/11/03/1[WEB]