Skip to content
Fencer Vulns
high 8.7

CVE-2021-22573 json

Incorrect signature verification on Google-oauth-java-client

published 2022-05-03 4 y ago modified 2026-06-17 4 mo ago also GHSA-hw42-3568-wj87 , EUVD-2024-1221

cvss
8.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 22%
public exploits
0
none known

Summary

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

Patch / fix

  • maven com.google.oauth-client:google-oauth-client 1.33.3
  • Google LLC Google-oauth-java-client 1.33.2
  • google-oauth-client-java Debian 14, Debian 13, Debian 12 1.33.3-1

debian advisories DEBIAN-CVE-2021-22573

  • google-oauth-java-client openSUSE Leap 15.5 1.22.0-150200.3.7.1

suse advisories SUSE-SU-2024:0806-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-22573 updated cvss 7.3

google-oauth-client: Token signature not verified

  • Red Hat Logging Subsystem for Red Hat OpenShift google-oauth-client
    affected: no fix available
  • Red Hat JBoss Fuse 6 google-oauth-client Red Hat JBoss Fuse Service Works 6 google-oauth-client
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins Red Hat OpenShift Container Platform 4 jenkins-2-plugins
    affected: no fix available
  • Red Hat Fuse 7.10.2.P1
    fixed: vendor fix RHSA-2022:4932
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat Fuse Online 7.10.2.P1
    fixed: vendor fix RHSA-2022:5030
  • Red Hat RHINT Camel-Springboot 3.14.5
    fixed: vendor fix RHSA-2022:7177
  • Red Hat AMQ Broker 7 google-oauth-client Red Hat build of Quarkus google-oauth-client Red Hat Integration Camel K 1 google-oauth-client Red Hat Integration Camel Quarkus 1 google-oauth-client Red Hat Integration Data Virtualisation Operator google-oauth-client Red Hat JBoss Enterprise Application Platform 7 google-oauth-client
    +2 more products
    Red Hat JBoss Enterprise Application Platform Expansion Pack google-oauth-client Red Hat streams for Apache Kafka google-oauth-client
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
GitHub 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
maven com.google.oauth-client:google-oauth-client
>=1.16.0-rc, <1.33.3
1.33.3

Affected products

  • Google LLC Google-oauth-java-client

Classification

Weakness
  • CWE-347 Improper Verification of Cryptographic Signature

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.