Resource exhaustion in oauth2 - CVE-2025-22868

 

Resource exhaustion in oauth2 - CVE-2025-22868

Published: March 10, 2025


Vulnerability identifier: #VU105461
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-22868
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Google
Affected software:
oauth2

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the jws package does not properly control consumption of internal resources when handling malformed tokens. A remote attacker can pass a malformed JWT token to the application, trigger resource exhaustion and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-22868

Install updates from vendor's website.

Sources