-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Vulnerable Library - google-api-client-gson-1.30.3.jar
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (google-api-client-gson version) | Remediation Possible** | Reachability | |
---|---|---|---|---|---|---|---|
WS-2021-0419 | 7.7 | gson-2.8.1.jar | Transitive | 1.33.0 | ✅ | ||
CVE-2022-25647 | 7.7 | gson-2.8.1.jar | Transitive | 1.33.0 | ✅ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
WS-2021-0419
Vulnerable Library - gson-2.8.1.jar
Gson JSON library
Library home page: https://github.com/google/gson
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar
Dependency Hierarchy:
- google-api-client-gson-1.30.3.jar (Root Library)
- google-http-client-gson-1.32.0.jar
- ❌ gson-2.8.1.jar (Vulnerable Library)
- google-http-client-gson-1.32.0.jar
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
org.t246osslab.easybuggy4sb.vulnerabilities.VulnerableOIDCRPController (Application)
-> org.springframework.jdbc.core.BeanPropertyRowMapper (Extension)
-> org.springframework.beans.BeanWrapper (Extension)
-> com.jayway.jsonpath.internal.path.CompiledPath (Extension)
...
-> com.jayway.jsonpath.internal.PathRef$ObjectPropertyPathRef (Extension)
-> com.jayway.jsonpath.spi.json.GsonJsonProvider (Extension)
-> ❌ com.google.gson.internal.LazilyParsedNumber (Vulnerable Component)
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
Suggested Fix
Type: Upgrade version
Release Date: 2021-10-11
Fix Resolution (com.google.code.gson:gson): 2.8.9
Direct dependency fix Resolution (com.google.api-client:google-api-client-gson): 1.33.0
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2022-25647
Vulnerable Library - gson-2.8.1.jar
Gson JSON library
Library home page: https://github.com/google/gson
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar
Dependency Hierarchy:
- google-api-client-gson-1.30.3.jar (Root Library)
- google-http-client-gson-1.32.0.jar
- ❌ gson-2.8.1.jar (Vulnerable Library)
- google-http-client-gson-1.32.0.jar
Found in base branch: master
Reachability Analysis
This vulnerability is potentially reachable
org.t246osslab.easybuggy4sb.vulnerabilities.VulnerableOIDCRPController (Application)
-> org.springframework.jdbc.core.BeanPropertyRowMapper (Extension)
-> org.springframework.beans.BeanWrapper (Extension)
-> com.jayway.jsonpath.internal.path.CompiledPath (Extension)
...
-> com.jayway.jsonpath.internal.PathRef$ObjectPropertyPathRef (Extension)
-> com.jayway.jsonpath.spi.json.GsonJsonProvider (Extension)
-> ❌ com.google.gson.internal.LazilyParsedNumber (Vulnerable Component)
Vulnerability Details
The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.
Publish Date: 2022-05-01
URL: CVE-2022-25647
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
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25647`
Release Date: 2022-05-01
Fix Resolution (com.google.code.gson:gson): 2.8.9
Direct dependency fix Resolution (com.google.api-client:google-api-client-gson): 1.33.0
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.