Vulnerability · Published Jul 9, 2020 · Assigned by snyk
CVE-2020-7692Improper Authorization
High 7.4
In plain English
A high-severity security flaw in com.google.oauth-client:google-oauth-client. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | google-oauth-client-java | 1.28.0-2 | DEBIAN-CVE-2020-7692 |
| Debian:13 | google-oauth-client-java | 1.28.0-2 | DEBIAN-CVE-2020-7692 |
| Debian:14 | google-oauth-client-java | 1.28.0-2 | DEBIAN-CVE-2020-7692 |
| Maven | com.google.oauth-client:google-oauth-client | 1.31.0 | GHSA-f263-c949-w85g |
| Ubuntu:22.04:LTS | google-oauth-client-java | no fix listed | UBUNTU-CVE-2020-7692 |
| Ubuntu:24.04:LTS | google-oauth-client-java | no fix listed | UBUNTU-CVE-2020-7692 |
| Ubuntu:25.10 | google-oauth-client-java | no fix listed | UBUNTU-CVE-2020-7692 |
| Ubuntu:26.04:LTS | google-oauth-client-java | no fix listed | UBUNTU-CVE-2020-7692 |
| Ubuntu:26.10 | google-oauth-client-java | no fix listed | UBUNTU-CVE-2020-7692 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | com.google.oauth-client:google-oauth-client | unspecified – before 1.31.0 |
References
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276 x_refsource_MISC
- https://github.com/googleapis/google-oauth-java-client/issues/469 x_refsource_MISC
- https://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d4764f8e3432c824 x_refsource_MISC
- https://tools.ietf.org/html/rfc8252%23section-8.1 x_refsource_MISC
- https://tools.ietf.org/html/rfc7636%23section-1 x_refsource_MISC
- [druid-commits] 20200724 [GitHub] [druid] suneet-s opened a new pull request #10214: Suppress CVE-2020-7692 mailing-list, x_refsource_MLIST
- [druid-commits] 20200727 [druid] branch master updated: Suppress CVE-2020-7692 (#10214) mailing-list, x_refsource_MLIST