Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2018-20840

8.6 · HIGH
Published May 30, 2019 google CWE-754 EPSS 0.65% (49th pctl)

Overview

CVE-2018-20840 is a high-severity vulnerability affecting google api_c\+\+_client. It was published on May 30, 2019 and has a CVSS 3.0 base score of 8.6 (HIGH).

This vulnerability has a CVSS 3.0 base score of 8.6, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from google. Update api_c\+\+_client to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
google api_c\+\+_client >= 0, < 2019-04-10 Affected

Frequently Asked Questions

What is CVE-2018-20840?

CVE-2018-20840 is a high-severity vulnerability affecting google api_c\+\+_client. It was published on May 30, 2019 and has a CVSS 3.0 base score of 8.6 (HIGH).

How severe is CVE-2018-20840?

This vulnerability has a CVSS 3.0 base score of 8.6, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2018-20840?

Check the references section for vendor advisories and patches from google. Update api_c\+\+_client to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2018-20840?

CyberStrike's AI-powered security agents can automatically detect CVE-2018-20840 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.