CVE-2021-22573
Incorrect signature verification on Google-oauth-java-client
Reported by google · Published May 3, 2022
google-oauth-client is fixed in 1.33.3 (Maven Central)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.google.oauth-client:google-oauth-client | Maven Central | 1.33.3 |
| Google-oauth-java-client | Google LLC | 1.33.2 |
| oauth_client_library_for_java | 1.33.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Google LLC | Google-oauth-java-client | unspecified |
| Maven | com.google.oauth-client:google-oauth-client | 0 |
| Google LLC | Google-oauth-java-client | * |
Timeline
- May 3, 2022 CVE Published
- May 3, 2022 PoC Published (4 in total, the first dated here)
- May 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (30 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (28 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22573
vulnetix vdb fixes CVE-2021-22573
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22573/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-22573 advisory