What’s Vulnerable › Vulnerabilities
CVE-2021-22573: Incorrect signature verification on Google-oauth-java-client
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-05-03 · updated 2026-06-17
- Weakness: CWE-347
Description
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
Affected products
- Google LLC Google-oauth-java-client: before 1.33.3 — fixed in 1.33.3
How to fix
Upgrade to a fixed version: Google LLC Google-oauth-java-client 1.33.3. Check the vendor advisory for mitigations.
References
- https://github.com/googleapis/google-oauth-java-client/pull/872
- https://github.com/googleapis/google-oauth-java-client/pull/872
Get alerted when CVE-2021-22573 or the next vulnerability affects your stack