GO-2020-0011 - When decrypting JsonWebEncryption objects with multiple recipients or JsonWebSignature objects with…

Severity: info · Published 2021-04-14

When decrypting JsonWebEncryption objects with multiple recipients or JsonWebSignature objects with multiple signatures the Decrypt and Verify methods do not indicate which recipient or signature was valid. This may lead a caller to rely on protected headers from an invalid recipient or signature.

Technologies: github.com/square/go-jose (Go). Vendors: Go.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 14 April 2021.
Which products and versions are affected?
github.com/square/go-jose (Go) SEMVER:introduced=0,fixed=0.0.0-20160922232413-2c5656adca99.
Is there a fix for This vulnerability?
Yes. github.com/square/go-jose (Go): upgrade to 0.0.0-20160922232413-2c5656adca99 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run github.com/square/go-jose (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/square/go-jose (Go): upgrade to 0.0.0-20160922232413-2c5656adca99 or later
    go get github.com/square/go-jose@v0.0.0-20160922232413-2c5656adca99

Affected products

  • github.com/square/go-jose (Go) SEMVER:introduced=0,fixed=0.0.0-20160922232413-2c5656adca99

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.