CVE-2020-7692
Improper Authorization
Reported by snyk · Published July 9, 2020
google-oauth-client is fixed in 1.31.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.google.oauth-client:google-oauth-client | Maven Central | 1.31.0 |
| com.google.oauth-client:google-oauth-client | n/a | 1.31.0 |
| oauth_client_library_for_java | 1.31.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | com.google.oauth-client:google-oauth-client | unspecified |
| n/a | com.google.oauth-client:google-oauth-client | * |
| Maven | com.google.oauth-client:google-oauth-client | 0 |
Timeline
- Jul 9, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 17, 2024 CVE Updated
- Mar 17, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 17, 2026 Security Advisory (5 in total, the first dated here)
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-7692
vulnetix vdb fixes CVE-2020-7692
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7692/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [druid-commits] 20200724 [GitHub] [druid] suneet-s opened a new pull request #10214: Suppress CVE-2020-7692 mailing-listx_refsource_MLIST
- [druid-commits] 20200727 [druid] branch master updated: Suppress CVE-2020-7692 (#10214) mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2020-7692 advisory