CVE-2018-20840Google Api C++ Client
High 8.6 No auth needed
Follow: this CVE · Google · Google Api C++ Client We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Api C++ Client.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| api_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