cve.bz

CVE-2021-22573 google oauth client library for java

7.3 highEPSS 0.3%Fix available

High (7.3) in google oauth client library for java. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in com.google.oauth-client:google-oauth-client 1.33.3.

On this page
The vulnerability is that IDToken verifier does not verify if token is properly signed. Signature verification makes sure that the token's payload comes from valid provider, not from someone else. An attacker can provide a compromised token with custom payload. The token will pass the validation on the client side. We recommend upgrading to version 1.33.3 or above

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22573 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22573?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22573?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22573 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Google LLC Google-oauth-java-clientbefore 1.33.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hw42-3568-wj87Mavencom.google.oauth-client:google-oauth-client>=1.16.0-rc <1.33.31.33.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14google-oauth-client-java1.33.3-1DEBIAN-CVE-2021-22573
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moregoogle-oauth-client-javano fix listedUBUNTU-CVE-2021-22573
openSUSELeap 15.5google-oauth-java-client1.22.0-150200.3.7.1SUSE-SU-2024:0806-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Fuse 7.10.2.P1google-oauth-clientFixed 2022-06-07RHSA-2022:4932
Red Hat Fuse 7.11google-oauth-clientFixed 2022-07-07RHSA-2022:5532
Red Hat Fuse Online 7.10.2.P1google-oauth-clientFixed 2022-06-14RHSA-2022:5030
RHINT Camel-Springboot 3.14.5google-oauth-clientFixed 2022-10-25RHSA-2022:7177
Logging Subsystem for Red Hat OpenShiftgoogle-oauth-clientAffected
Red Hat AMQ Broker 7google-oauth-clientNot affected
Red Hat build of Quarkusgoogle-oauth-clientNot affected
Red Hat Integration Camel K 1google-oauth-clientNot affected
Red Hat Integration Camel Quarkus 1google-oauth-clientNot affected
Red Hat Integration Data Virtualisation Operatorgoogle-oauth-clientNot affected
Red Hat JBoss Enterprise Application Platform 7google-oauth-clientNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packgoogle-oauth-clientNot affected
Red Hat JBoss Fuse 6google-oauth-clientOut of support scope
Red Hat JBoss Fuse Service Works 6google-oauth-clientOut of support scope
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsAffected
Red Hat OpenShift Container Platform 4jenkins-2-pluginsAffected
streams for Apache Kafkagoogle-oauth-clientNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22573.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON