GHSA-f263-c949-w85g

Suggest an improvement
Source
https://github.com/advisories/GHSA-f263-c949-w85g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-f263-c949-w85g/GHSA-f263-c949-w85g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f263-c949-w85g
Aliases
Published
2021-09-28T16:16:52Z
Modified
2024-08-01T09:26:44.199826Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Improper Authorization in Google OAuth Client
Details

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.

References

Affected packages

Maven / com.google.oauth-client:google-oauth-client

Package

Name
com.google.oauth-client:google-oauth-client
View open source insights on deps.dev
Purl
pkg:maven/com.google.oauth-client/google-oauth-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.31.0

Affected versions

1.*

1.5.0-alpha
1.5.0-beta
1.5.1-beta
1.5.2-beta
1.6.0-beta
1.7.0-beta
1.8.0-beta
1.9.0-beta
1.10.0-beta
1.10.1-beta
1.11.0-beta
1.12.0-beta
1.13.0-beta
1.13.1-beta
1.14.0-beta
1.14.1-beta
1.15.0-rc
1.16.0-rc
1.17.0-rc
1.18.0-rc
1.19.0
1.20.0
1.21.0
1.22.0
1.23.0
1.24.1
1.25.0
1.26.0
1.27.0
1.28.0
1.29.0
1.29.2
1.30.1
1.30.2
1.30.3
1.30.4
1.30.5
1.30.6