Skip to content

WS-2021-0419 (High) detected in gson-2.8.5.jar, gson-2.8.0.jar #19

@mend-for-github.zerozr99.workers.dev

Description

WS-2021-0419 - High Severity Vulnerability

Vulnerable Libraries - gson-2.8.5.jar, gson-2.8.0.jar

gson-2.8.5.jar

Gson JSON library

Library home page: https://github.com/google/gson

Path to dependency file: /kotlin/app/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.5/f645ed69d595b24d4cf8b3fbb64cc505bede8829/gson-2.8.5.jar

Dependency Hierarchy:

  • lint-gradle-26.6.0.jar (Root Library)
    • sdk-common-26.6.0.jar
      • shared-26.6.0.jar
        • gson-2.8.5.jar (Vulnerable Library)
gson-2.8.0.jar

Gson JSON library

Library home page: https://github.com/google/gson

Path to dependency file: /kotlin/app/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/transforms-2/files-2.1/fbf51c04c0c86bf72c894f534d82ac18/jetified-gson-2.8.0.jar

Dependency Hierarchy:

  • room-compiler-2.2.5.jar (Root Library)
    • room-migration-2.2.5.jar
      • gson-2.8.0.jar (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Denial of Service vulnerability was discovered in gson before 2.8.9 via the writeReplace() method.

Publish Date: 2021-10-11

URL: WS-2021-0419

CVSS 3 Score Details (7.7)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2021-10-11

Fix Resolution: com.google.code.gson:gson:2.8.9

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions