Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Oauth Client Library For Java | < 1.31.0 |
Related Weaknesses (CWE)
References
- https://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc2PatchThird Party Advisory
- https://github.com/googleapis/google-oauth-java-client/issues/469Third Party Advisory
- https://lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de2
- https://lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276Third Party Advisory
- https://tools.ietf.org/html/rfc7636%23section-1ExploitThird Party Advisory
- https://tools.ietf.org/html/rfc8252%23section-8.1ExploitThird Party Advisory
- https://github.com/googleapis/google-oauth-java-client/commit/13433cd7dd06267fc2PatchThird Party Advisory
- https://github.com/googleapis/google-oauth-java-client/issues/469Third Party Advisory
- https://lists.apache.org/thread.html/r3db6ac73e0558d64f0b664f2fa4ef0a865e57c5de2
- https://lists.apache.org/thread.html/reae8909b264d1103f321b9ce1623c10c1ddc77dba9
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276Third Party Advisory
- https://tools.ietf.org/html/rfc7636%23section-1ExploitThird Party Advisory
- https://tools.ietf.org/html/rfc8252%23section-8.1ExploitThird Party Advisory
FAQ
What is CVE-2020-7692?
CVE-2020-7692 is a vulnerability with a CVSS score of 7.4 (HIGH). 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...
How severe is CVE-2020-7692?
CVE-2020-7692 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7692?
Check the references section above for vendor advisories and patch information. Affected products include: Google Oauth Client Library For Java.