CVE-2018-20840

HIGH

Google API C++ Client < 2019-04-10 - Denial of Service via ID Token Handling

Title source: llm
STIX 2.1

Description

An unhandled exception vulnerability exists during Google Sign-In with Google API C++ Client before 2019-04-10. It potentially causes an outage of third-party services that were not designed to recover from exceptions. On the client, ID token handling can cause an unhandled exception because of misinterpretation of an integer as a string, resulting in denial-of-service and then other users can no longer login/sign-in to the affected third-party service. Once this third-party service uses Google Sign-In with google-api-cpp-client, a malicious user can trigger this client/auth/oauth2_authorization.cc vulnerability by requesting the client to receive the ID token from a Google authentication server.

References (2)

Core 2
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/google/google-api-cpp-client/pull/58
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/google/google-api-cpp-client/issues/57

Scores

CVSS v3 8.6
EPSS 0.0065
EPSS Percentile 46.3%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Details

CWE
CWE-754
Status published
Products (1)
google/api_c\+\+_client < 2019-04-10
Published May 30, 2019
Tracked Since Feb 18, 2026