CVE-2020-7692 Improper Authorization
An attacker can intercept authorization codes due to missing PKCE support, allowing them to gain unauthorized access to protected resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7692?
CVE-2020-7692 is a high-severity missing authorization vulnerability in com.google.oauth-client:google-oauth-client, published on 9 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2020-7692?
2 open source packages ship an affected version, including com.google.oauth-client:google-oauth-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.google.oauth-client:google-oauth-client Maven | All versions | 1.31.0 |
com.google.oauth-client:google-oauth-client Maven | All versions | 1.31.0 |
Products include Google Oauth Client Library for Java.
How do I fix CVE-2020-7692?
Upgrade com.google.oauth-client:google-oauth-client to 1.31.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-7692 being exploited?
There is no known exploitation of CVE-2020-7692 in the wild and no public exploit code.
Other vulnerabilities in com.google.oauth-client:google-oauth-client
Sources
Also known as CLSA-2026-1774225188, DEBIAN-CVE-2020-7692, GHSA-f263-c949-w85g, SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276, UBUNTU-CVE-2020-7692.