Auth bypass in Google Oauth Client Library For Java
CVE-2020-7692
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.
Vulnerability class: Broken Access Control
EPSS: 0.016 (73.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
Affected products
- Google Oauth_client_library_for_java
- N/a Com.google.oauth-client:google-oauth-client — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Exploit, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Exploit, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (mailing-list, x_refsource_MLIST)
- report@snyk.io (mailing-list, x_refsource_MLIST)
Frequently asked questions
- What is CVE-2020-7692?
- CVE-2020-7692 is a high-severity vulnerability in Google Oauth Client Library For Java, classified under Incorrect Authorization. CVSS score: 7.4/10. Published 2020-07-09.
- How severe is CVE-2020-7692?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2020-7692 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.