Skip to content
OpenAdvisories
High · 7.4 CVE-2020-7692 EUVD-2021-2044GHSA-f263-c949-w85gSNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276

Improper Authorization

Published Jul 9, 2020 · Updated Sep 17, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— com.google.oauth-client:google-oauth-client unspecified – < 1.31.0 1.31.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 google-oauth-client-java 1.28.0-2 —
Debian 13 google-oauth-client-java 1.28.0-2 —
Debian 12 google-oauth-client-java 1.28.0-2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 google-oauth-client-java No fix yet —
Ubuntu 26.04 LTS google-oauth-client-java No fix yet —
Ubuntu 25.10 google-oauth-client-java No fix yet —
Ubuntu 24.04 LTS google-oauth-client-java No fix yet —
Ubuntu 22.04 LTS google-oauth-client-java No fix yet —
ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 jenkins 2.361.1.1675668150-1.el8 RHSA-2023:0777
Red Hat OpenShift 4 jenkins-2-plugins 4.9.1675668922-1.el8 RHSA-2023:0777, RHSA-2023:0560
Red Hat Ocp Tools 4 jenkins 2.387.3.1684911776-3.el8 RHSA-2024:0778, RHSA-2023:6172, RHSA-2023:3299
Red Hat Ocp Tools 4 jenkins-2-plugins 4.12.1698294000-1.el8 RHSA-2024:0778, RHSA-2023:6172, RHSA-2023:3299

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.google.oauth-client:google-oauth-client < 1.31.0 1.31.0 GHSA-f263-c949-w85g

Advisories 7

References