Vulnerabilities · 2020 · Google
CVE-2020-7692
Google Oauth Client Library For Java vulnerability
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 products
Oauth Client Library For Java. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Google Oauth Client Library For Java runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc261f0b1d4764f8e3432 · Patch
- github.com/googleapis/google-oauth-java-client/issues/469 · Third Party Advisory
- snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276 · Third Party Advisory
- tools.ietf.org/html/rfc7636%23section-1 · Exploit
- tools.ietf.org/html/rfc8252%23section-8.1 · Exploit
- lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de20f8321d3b48678%40%
- lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9790247f2c0c90f%40%
- nvd.nist.gov/vuln/detail/CVE-2020-7692
- cve.org/CVERecord?id=CVE-2020-7692
More vulnerabilities in Google products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.