National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-20840 Detail

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

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 8.6 HIGH
Vector: AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H (V3 legend)
Impact Score: 4.0
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Changed
Confidentiality (C): None
Integrity (I): None
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): None
Integrity (I): None
Availability (A): Partial
Additional Information:
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/google/google-api-cpp-client/issues/57 Exploit Issue Tracking Third Party Advisory
https://github.com/google/google-api-cpp-client/pull/58 Issue Tracking Patch Third Party Advisory

Technical Details

Vulnerability Type (View All)

  • Improper Check for Unusual or Exceptional Conditions (CWE-754)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:google:api_c\+\+_client:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
2019-04-10


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-20840
NVD Published Date:
05/30/2019
NVD Last Modified:
05/31/2019