CVE-2020-7692
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.
How to fix
- google oauth_client_library_for_java1.31.0 or later
- com.google.oauth-client:google-oauth-client1.31.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| google oauth_client_library_for_java | v < 1.31.0 | 1.31.0 |
| com.google.oauth-client:google-oauth-clientMaven | v < 1.31.0 | 1.31.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.