SecurityContext

CVE-2020-7692: Google OAuth Client - Broken Authentication

  • Cve: CVE-2020-7692
  • Name: Google OAuth Client - Broken Authentication
  • 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.
  • Impact: Attackers can obtain authorization codes and access protected resources without proper client verification, leading to unauthorized access.
  • Remediation: Update to version 1.31.0 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs to control malicious app
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.01522
  • Epss percentile: 0.75279
  • Assignee: [email protected]
  • Published at: 2020-07-09T14:15:11Z
  • Age in days: 2329
  • Modified at: 2026-06-17T03:25:16Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7692
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

Public exploits

UrlSourceAdded date
https://tools.ietf.org/html/rfc7636%23section-1nvd2020-07-09
https://tools.ietf.org/html/rfc8252%23section-8.1nvd2020-07-09

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d4764f8e3432c824Patch, Third Party Advisory
https://tools.ietf.org/html/rfc7636%23section-1Exploit, Third Party Advisory
https://tools.ietf.org/html/rfc8252%23section-8.1Exploit, Third Party Advisory
https://github.com/googleapis/google-oauth-java-client/issues/469Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276Third Party Advisory
https://lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de20f8321d3b48678%40%3Ccommits.druid.apache.org%3E
https://lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9790247f2c0c90f%40%3Ccommits.druid.apache.org%3E

Products

ProductAffectedPlatform boundSourcesUrl
google:oauth_client_library_for_java< 1.31.0nonvd/v1/products/google/oauth_client_library_for_java

Projects

RepositoryLink kindsIndexedUrl
googleapis/google-oauth-java-clientcommit, issues, packageyes/v1/repositories/googleapis/google-oauth-java-client

Index

  • Repositories: 19
  • Repositories high signal: 14
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2020-07-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts