CVE-2020-7692Google Oauth Client Library For Java
Critical 9.1 No auth needed
Follow: this CVE · Google · Google Oauth Client Library For Java We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Jul 9, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Oauth Client Library For Java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.google.oauth-client:google-oauth-client |
< 1.31.0 |
1.31.0 |
— |
Per OSV / GitHub Advisories (GHSA-f263-c949-w85g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oauth_client_library_for_java | < 1.31.0 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.9.56 security update · Red Hat · RHSA-2023:0777 · Aug 5, 2026 Critical
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update · Red Hat · RHSA-2023:6172 · Oct 2, 2024 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.apache.org
- lists.apache.org
- snyk.io Third Party Advisory
- tools.ietf.org Exploit Third Party Advisory
- tools.ietf.org Exploit Third Party Advisory