HIGH 7.4

CVE-2020-7692

Improper Authorization in Google OAuth Client

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
com.google.oauth-client » google-oauth-client
< 1.31.0
1.31.0

Blast radius

1affected artifacts
40affected versions
3,654dependent artifacts (est.)
340,563dependent versions

52% of the dependent artifacts (1,934) still pull an affected version in their latest release.

DepthDependent versions
Direct
21,266
2 hops
150,959
3 hops
80,085
4 hops
53,950
5 hops
26,506
6 hops
7,797

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.