Improper Verification of Cryptographic Signature Affecting google-oauth-client-java package, versions <1.33.3-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

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 IDSNYK-DEBIANUNSTABLE-GOOGLEOAUTHCLIENTJAVA-2809040
  • published6 May 2022
  • disclosed3 May 2022

Introduced: 3 May 2022

CVE-2021-22573  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade Debian:unstable google-oauth-client-java to version 1.33.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream google-oauth-client-java package and not the google-oauth-client-java package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

The vulnerability is that IDToken verifier does not verify if token is properly signed. Signature verification makes sure that the token's payload comes from valid provider, not from someone else. An attacker can provide a compromised token with custom payload. The token will pass the validation on the client side. We recommend upgrading to version 1.33.3 or above

CVSS Scores

version 3.1