Lucene search

K
osvGoogleOSV:GHSA-F263-C949-W85G
HistorySep 28, 2021 - 4:16 p.m.

Improper Authorization in Google OAuth Client

2021-09-2816:16:52
Google
osv.dev
11
improper authorization
google oauth client
pkce support
rfc for oauth 2.0
native apps
authorization code
authorization server
malicious app
client-side
protected resource
vulnerable software

EPSS

0.007

Percentile

79.8%

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.