VDB
Sign up
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.0

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

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.0
Fixgo get gopkg.in/square/go-jose.v1@v1.1.0

References