Improper OAuth Authorization in Google OAuth Client PKCE Handling
CVE-2020-7692 is an improper authorization vulnerability in com.google.oauth-client:google-oauth-client versions prior to 1.31.0. The library's Proof Key for Code Exchange (PKCE) support does not conform to OAuth 2.0 for Native Apps requirements. Consequently, an authorization code returned through the native-application authorization-code flow is not reliably bound to the client that initiated the authorization request.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A malicious application on the client device may obtain an OAuth authorization code intended for a legitimate native application and redeem it to obtain authorization for the associated protected resource. This can result in unauthorized access using the victim's granted OAuth authorization.
If you can’t patch tonight, do this now.
Until the affected dependency can be upgraded, avoid using the vulnerable native-application OAuth Authorization Code flow. Restrict use of custom URI-scheme redirects where feasible and use redirect mechanisms resistant to client-side authorization-code interception. Ensure authorization servers and clients enforce standards-compliant PKCE for native clients.
Patch, then assume compromise.
Upgrade com.google.oauth-client:google-oauth-client to version 1.31.0 or later. Apply vendor-provided updates for products that bundle the affected library, including applicable OpenShift and Jenkins container-image or package updates.
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.