{"answers":{"affected":"2 open source packages ship an affected version, including com.google.oauth-client:google-oauth-client. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-22573 in the wild and no public exploit code.","fix":"Upgrade com.google.oauth-client:google-oauth-client to 1.33.3 or later.","what":"CVE-2021-22573 is a high-severity authentication bypass vulnerability in Google-oauth-java-client, published on 3 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-22573 and fix it if it is affected.\n\nWhat it is: CVE-2021-22573 is a high-severity authentication bypass vulnerability in Google-oauth-java-client, published on 3 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-22573 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.google.oauth-client:google-oauth-client (Maven): affected from 1.16.0-rc; fixed in 1.33.3\n- com.google.oauth-client:google-oauth-client (Maven): affected from 1.16.0-rc; fixed in 1.33.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-22573/ (Markdown: https://insights.sbomify.com/CVE-2021-22573/index.md)","id":"CVE-2021-22573","markdown":"https://insights.sbomify.com/CVE-2021-22573/index.md","name":"CVE-2021-22573","record":{"aliases":["CLSA-2026-1770682155","DEBIAN-CVE-2021-22573","GHSA-hw42-3568-wj87","OESA-2025-2429","OESA-2025-2430","OESA-2025-2431","OESA-2025-2432","OESA-2025-2433","OESA-2025-2434","SUSE-SU-2024:0806-1","UBUNTU-CVE-2021-22573"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Java OAuth client","requires_auth":"low_privilege","summary":"Attackers can bypass authentication by providing unsigned ID tokens with custom payloads, allowing unauthorized access to applications using this library.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"oauth_client_library_for_java","vendor":"google"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"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","ecosystems":["Maven","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Incorrect signature verification on Google-oauth-java-client","id":"CVE-2021-22573","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":3,"n_references":1,"next":{"headline":"Linux Kernel Privilege Escalation","id":"CVE-2021-22600"},"packages":[{"ecosystem":"Maven","fixed":["1.33.3"],"introduced":["1.16.0-rc"],"last_affected":[],"package":"com.google.oauth-client:google-oauth-client","purl":null,"source":"GHSA-hw42-3568-wj87"},{"ecosystem":"Maven","fixed":["1.33.3"],"introduced":["1.16.0-rc"],"last_affected":[],"package":"com.google.oauth-client:google-oauth-client","purl":"pkg:maven/com.google.oauth-client/google-oauth-client","source":"GHSA-hw42-3568-wj87"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.22.0-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"google-oauth-java-client","purl":"pkg:rpm/opensuse/google-oauth-java-client\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:0806-1"}],"prev":{"headline":"Data-transfer-project information disclosure via tmp directory","id":"CVE-2021-22572"},"products":["Google-oauth-java-client"],"published":"2022-05-03","related":[{"cvss_score":7.4,"headline":"Improper Authorization","id":"CVE-2020-7692","kev_date_added":null,"published":"2020-07-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-21","vendors":["Google LLC"]},"summary":"Attackers can bypass authentication by providing unsigned ID tokens with custom payloads, allowing unauthorized access to applications using this library.","url":"https://insights.sbomify.com/CVE-2021-22573/"}