CVE-2021-22573Google Oauth Client Library For Java
High 7.3
Follow: this CVE · Google · Google Oauth Client Library For Java We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.1
- 7.3
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 25
- Auth required
- Yes
- Published
- May 3, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
What happens
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
What to do
- Apply the vendor's security update for Oauth Client Library For Java.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.google.oauth-client:google-oauth-client |
≥ 1.16.0-rc < 1.33.3 |
1.33.3 |
— |
Per OSV / GitHub Advisories (GHSA-hw42-3568-wj87). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oauth_client_library_for_java | < 1.33.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Release Notes