Skip to content

CVE-2020-7692 (High) detected in multiple libraries #153

@mend-for-github-com

Description

@mend-for-github-com

CVE-2020-7692 - High Severity Vulnerability

Vulnerable Libraries - google-oauth-client-1.25.0.jar, google-oauth-client-1.23.0.jar, google-oauth-client-1.27.0.jar

google-oauth-client-1.25.0.jar

Google OAuth Client Library for Java. Functionality that works on all supported Java platforms, including Java 5 (or higher) desktop (SE) and web (EE), Android, and Google App Engine.

Library home page: https://github.com/google/google-oauth-java-client

Path to dependency file: cloud-pipeline/billing-report-agent/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.oauth-client/google-oauth-client/1.25.0/c9ee14e8b095b4b301b28d57755cc482b8d6f39f/google-oauth-client-1.25.0.jar

Dependency Hierarchy:

  • google-api-services-compute-v1-rev214-1.25.0.jar (Root Library)
    • google-api-client-1.25.0.jar
      • google-oauth-client-1.25.0.jar (Vulnerable Library)
google-oauth-client-1.23.0.jar

Google OAuth Client Library for Java. Functionality that works on all supported Java platforms, including Java 5 (or higher) desktop (SE) and web (EE), Android, and Google App Engine.

Library home page: https://github.com/google/google-oauth-java-client

Path to dependency file: cloud-pipeline/data-transfer-service/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.oauth-client/google-oauth-client/1.23.0/e57ea1e2220bda5a2bd24ff17860212861f3c5cf/google-oauth-client-1.23.0.jar

Dependency Hierarchy:

  • google-api-client-1.23.0.jar (Root Library)
    • google-oauth-client-1.23.0.jar (Vulnerable Library)
google-oauth-client-1.27.0.jar

Google OAuth Client Library for Java. Functionality that works on all supported Java platforms, including Java 6 (or higher) desktop (SE) and web (EE), Android, and Google App Engine.

Library home page: https://github.com/googleapis/google-oauth-java-client

Path to dependency file: cloud-pipeline/elasticsearch-agent/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.oauth-client/google-oauth-client/1.27.0/1979e3b499f1ef49959005ca59101791361abca9/google-oauth-client-1.27.0.jar

Dependency Hierarchy:

  • google-cloud-storage-1.64.0.jar (Root Library)
    • google-cloud-core-http-1.64.0.jar
      • google-api-client-1.27.0.jar
        • google-oauth-client-1.27.0.jar (Vulnerable Library)

Found in HEAD commit: 1db3170e0bd699acd5fec6e3fcebfa68fe86edcf

Found in base branch: develop

Vulnerability Details

PKCE support is not implemented in accordance with the RFC for OAuth 2.0 for Native Apps. Without the use of PKCE, the authorization code returned by an authorization server is not enough to guarantee that the client that issued the initial authorization request is the one that will be authorized. An attacker is able to obtain the authorization code using a malicious app on the client-side and use it to gain authorization to the protected resource. This affects the package com.google.oauth-client:google-oauth-client before 1.31.0.

Publish Date: 2020-07-09

URL: CVE-2020-7692

CVSS 3 Score Details (9.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/FriendsOfSymfony/oauth2-php/releases/tag/1.3.0

Release Date: 2020-07-09

Fix Resolution: 1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions