{"id":"CVE-2021-22573","published":"2022-05-03T15:45:12Z","modified":"2025-04-21T13:54:18Z","title":"Incorrect signature verification on Google-oauth-java-client","vendor":"Google","product":"Google-oauth-java-client","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.003,"percentile":0.23343,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/googleapis/google-oauth-java-client/pull/872","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":4.67},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Google-oauth-java-client","versions":[">= unspecified, < 1.33.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-21T13:36:43.939239Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.google.oauth-client:google-oauth-client","vulnerableRanges":[">=1.16.0-rc, <1.33.3"],"patched":["1.33.3"],"from":["GHSA-hw42-3568-wj87"],"provenance":"source"}],"summary":{"text":"The IDToken verifier in Google's oauth-java-client library, which is the Google-oauth-java-client product, fails to check that tokens are properly signed, so it does not confirm that a token's payload originates from a valid provider. An attacker who can present a forged or compromised token with a custom payload, which requires network access, low privileges and user interaction, can have that token pass client-side validation with high confidentiality and integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:36Z"},"euvd":{"id":"EUVD-2024-1221","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7692","published":"2020-07-09","fixed":"1.31.0","kev":false,"link":{"from":"CVE-2020-7692","to":"CVE-2021-22573","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.oauth-client:google-oauth-client","fromFixed":"1.31.0","toFixed":"1.33.3","daysApart":663}]}},{"cve":"CVE-2021-22573","published":"2022-05-03","fixed":"1.33.3","kev":false}],"package":"Maven:com.google.oauth-client:google-oauth-client"}}