Live threats

All CVEs / Google

CVE-2018-20840Google Api C++ Client

High 8.6 No auth needed

Priority
67
CVSS 3.0
8.6
EPSS
0.7%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
May 30, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-754
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Api C++ Client.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
googleapi_c++_client< 2019-04-10

Official sources

References

Links published by the sources. Open them with care.

  • github.com Exploit Issue Tracking Third Party Advisory
  • github.com Issue Tracking Patch Third Party Advisory