Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Api C\+\+ Client | < 2019-04-10 |
Related Weaknesses (CWE)
References
- https://github.com/google/google-api-cpp-client/issues/57ExploitIssue TrackingThird Party Advisory
- https://github.com/google/google-api-cpp-client/pull/58Issue TrackingPatchThird Party Advisory
- https://github.com/google/google-api-cpp-client/issues/57ExploitIssue TrackingThird Party Advisory
- https://github.com/google/google-api-cpp-client/pull/58Issue TrackingPatchThird Party Advisory
FAQ
What is CVE-2018-20840?
CVE-2018-20840 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 recove...
How severe is CVE-2018-20840?
CVE-2018-20840 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-20840?
Check the references section above for vendor advisories and patch information. Affected products include: Google Api C\+\+ Client.