CVE-2020-7692

HIGH

Google Oauth Client Library For Java - Incorrect Authorization

Title source: rule

Description

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. This affects the package com.google.oauth-client:google-oauth-client before 1.31.0.

Exploits (2)

nomisec STUB
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2020-7692-google-oauth-java-client-vulnerable
nomisec STUB
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2020-7692-google-oauth-java-client-vulnerable

Scores

CVSS v3 7.4
EPSS 0.0008
EPSS Percentile 24.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Details

CWE
CWE-863
Status published
Products (2)
com.google.oauth-client/google-oauth-client 0 - 1.31.0Maven
google/oauth_client_library_for_java < 1.31.0
Published Jul 09, 2020
Tracked Since Feb 18, 2026