Vulnerability · Published May 3, 2022 · Assigned by Google
CVE-2021-22573Incorrect signature verification on Google-oauth-java-client
High 8.7
In plain English
A high-severity security flaw in Google-oauth-java-client from Google LLC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | google-oauth-client-java | 1.33.3-1 | DEBIAN-CVE-2021-22573 |
| Debian:13 | google-oauth-client-java | 1.33.3-1 | DEBIAN-CVE-2021-22573 |
| Debian:14 | google-oauth-client-java | 1.33.3-1 | DEBIAN-CVE-2021-22573 |
| Maven | com.google.oauth-client:google-oauth-client | 1.33.3 | GHSA-hw42-3568-wj87 |
| Ubuntu:22.04:LTS | google-oauth-client-java | no fix listed | UBUNTU-CVE-2021-22573 |
| Ubuntu:24.04:LTS | google-oauth-client-java | no fix listed | UBUNTU-CVE-2021-22573 |
| Ubuntu:25.10 | google-oauth-client-java | no fix listed | UBUNTU-CVE-2021-22573 |
| Ubuntu:26.04:LTS | google-oauth-client-java | no fix listed | UBUNTU-CVE-2021-22573 |
| Ubuntu:26.10 | google-oauth-client-java | no fix listed | UBUNTU-CVE-2021-22573 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Google LLC | Google-oauth-java-client | unspecified – before 1.33.2 |
Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/googleapis/google-oauth-java-client/pull/872 x_refsource_MISC