Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-GOLANG-GITHUBCOMSQUAREGOJOSE-540149
- published 22 Sep 2016
- disclosed 22 Sep 2016
- credit Unknown
How to fix?
github.com/square/go-jose to version 1.1.0 or higher.
Affected versions of this package are vulnerable to Signature Validation Bypass. 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.