Improper Authorization Affecting com.google.oauth-client:google-oauth-client package, versions [,1.31.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.66% (80th 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-575276
  • published3 Jul 2020
  • disclosed3 Jul 2020
  • creditStefán Freyr Stefánsson

Introduced: 3 Jul 2020

CVE-2020-7692  (opens in a new tab)
CWE-285  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade com.google.oauth-client:google-oauth-client to version 1.31.0 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 Authorization. PKCE support is not implemented in accordance with the RFC for OAuth 2.0 for Native Apps. Without the use of PKCE, the authorization code returned by an authorization server is not enough to guarantee that the client that issued the initial authorization request is the one that will be authorized. An attacker is able to obtain the authorization code using a malicious app on the client-side and use it to gain authorization to the protected resource.

CVSS Scores

version 3.1