Improper Verification of Cryptographic Signature Affecting com.google.oauth-client:google-oauth-client package, versions [,1.33.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (31st 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-JAVA-COMGOOGLEOAUTHCLIENT-2807808
  • published4 May 2022
  • disclosed4 May 2022
  • credittamjidrahat

Introduced: 4 May 2022

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

How to fix?

Upgrade com.google.oauth-client:google-oauth-client to version 1.33.3 or higher.

Overview

com.google.oauth-client:google-oauth-client is a powerful and easy-to-use Java library for the OAuth 1.0a and OAuth 2.0 authorization standards.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the IdTokenVerifier method, due to missing signature verification of the ID Token. Exploiting this vulnerability makes it possible for the attacker to provide a compromised token with a custom payload.

CVSS Base Scores

version 3.1