Signature Validation Bypass Affecting gopkg.in/square/go-jose.v1 package, versions <1.1.0
Snyk CVSS
Threat Intelligence
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-GOPKGINSQUAREGOJOSEV1-50020
- published 22 Sep 2016
- disclosed 22 Sep 2016
- credit Unknown
Introduced: 22 Sep 2016
CVE-2016-9122 Open this link in a new tabHow to fix?
Upgrade gopkg.in/square/go-jose.v1
to version 1.1.0 or higher.
Overview
gopkg.in/square/go-jose.v1 is a Package that aims to provide an implementation of the Javascript Object Signing and Encryption set of standards.
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.