CVE-2021-22573
HIGH 7.3CVSS 3.1google-oauth-java-client improperly verifies cryptographic signature
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
- Published
- 3 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-hw42-3568-wj87
- Sources
- NVDJSONOSV GHSA-hw42-3568-wj87JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | oauth_client_library_for_javacpe:2.3:a:google:oauth_client_library_for_java:*:*:*:*:*:*:*:* |
< 1.33.3 | 1.33.3 | |
| OSV | Maven | com.google.oauth-client:google-oauth-client | >= 1.16.0-rc, < 1.33.3 | 1.33.3 |
References
- https://github.com/googleapis/google-oauth-java-client/pull/872 · Issue Tracking, Patch, Release Notes, Third Party Advisory, WEB
- https://github.com/googleapis/google-oauth-java-client/security/advisories/GHSA-hw42-3568-wj87 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22573 · ADVISORY
- https://github.com/googleapis/google-oauth-java-client/commit/c634ad4e31cac322bb1aa8a9feb0569749011bf0 · WEB
- https://github.com/googleapis/google-oauth-java-client · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Apr 2024)