google-oauth-client-java — security advisory
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
- Products
- google-oauth-client-java
- Affected versions
- 1.28.0-2, 1.34.1-2, 1.34.1-2build1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22573
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:57 UTC · Revision 1
Source evidence
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
osv:UBUNTU-CVE-2021-22573
google-oauth-client-java
Fixed versions: Not specified
google-oauth-client-java
Fixed versions: Not specified
google-oauth-client-java
Fixed versions: Not specified
google-oauth-client-java
Fixed versions: Not specified
google-oauth-client-java
Fixed versions: Not specified
Complete source record
{
"id": "884d4d5ea787a500b39f087d3c9a9ba54c4e2741d92987387be1e7ece91214b8",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-22573",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-22573",
"summary": "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",
"evidence": "osv:UBUNTU-CVE-2021-22573",
"products": [
{
"name": {
"value": "google-oauth-client-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.28.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "google-oauth-client-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.34.1-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "google-oauth-client-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.34.1-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "google-oauth-client-java",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.34.1-2build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "google-oauth-client-java",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.34.1-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.34.1-2build1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2021-22573",
"aliases": [
"UBUNTU-CVE-2021-22573"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "google-oauth-client-java",
"purl": "pkg:deb/ubuntu/google-oauth-client-java?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.28.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22573.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgoogle-oauth-client-java",
"binary_version": "1.28.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "google-oauth-client-java",
"purl": "pkg:deb/ubuntu/google-oauth-client-java?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.34.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22573.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgoogle-oauth-client-java",
"binary_version": "1.34.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "google-oauth-client-java",
"purl": "pkg:deb/ubuntu/google-oauth-client-java?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.34.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22573.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgoogle-oauth-client-java",
"binary_version": "1.34.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "google-oauth-client-java",
"purl": "pkg:deb/ubuntu/google-oauth-client-java?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.34.1-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22573.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgoogle-oauth-client-java",
"binary_version": "1.34.1-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "google-oauth-client-java",
"purl": "pkg:deb/ubuntu/google-oauth-client-java?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.34.1-2",
"1.34.1-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22573.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgoogle-oauth-client-java",
"binary_version": "1.34.1-2build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:19.038632115Z",
"provider": "osv",
"upstream": [
"CVE-2021-22573"
],
"references": [
"https://ubuntu.com/security/CVE-2021-22573",
"https://github.com/googleapis/google-oauth-java-client/pull/872",
"https://www.cve.org/CVERecord?id=CVE-2021-22573"
]
},
"related_cves": [
{
"value": "CVE-2021-22573",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355235,
"published_at": "2022-05-03T16:15:00+00:00"
}