This vulnerability is potentially used
```
com.visualpathit.account.controller.ElasticSearchController (Application)
-> com.google.gson.Gson (Extension)
-> com.google.gson.internal.bind.ObjectTypeAdapter (Extension)
-> ❌ com.google.gson.internal.LinkedTreeMap (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.
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.2/gson-2.8.2.jar
Found in HEAD commit: e05a354f76ea8825b79bebaf46a05fc37d1979e0
Vulnerabilities
Details
WS-2021-0419
### Vulnerable Library - gson-2.8.2.jarLibrary 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.2/gson-2.8.2.jar
Dependency Hierarchy: - :x: **gson-2.8.2.jar** (Vulnerable Library)
Found in HEAD commit: e05a354f76ea8825b79bebaf46a05fc37d1979e0
Found in base branch: vp-rem
### Reachability AnalysisThis vulnerability is potentially used ``` com.visualpathit.account.controller.ElasticSearchController (Application) -> com.google.gson.Gson (Extension) -> com.google.gson.internal.bind.ObjectTypeAdapter (Extension) -> ❌ com.google.gson.internal.LinkedTreeMap (Vulnerable Component) ```
### Vulnerability DetailsDenial 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 FixType: Upgrade version
Release Date: 2021-10-11
Fix Resolution: 2.8.9
In order to enable automatic remediation, please create workflow rules
CVE-2022-25647
### Vulnerable Library - gson-2.8.2.jarLibrary 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.2/gson-2.8.2.jar
Dependency Hierarchy: - :x: **gson-2.8.2.jar** (Vulnerable Library)
Found in HEAD commit: e05a354f76ea8825b79bebaf46a05fc37d1979e0
Found in base branch: vp-rem
### Reachability AnalysisThis vulnerability is potentially used ``` com.visualpathit.account.controller.ElasticSearchController (Application) -> com.google.gson.Gson (Extension) -> com.google.gson.internal.bind.ObjectTypeAdapter (Extension) -> ❌ com.google.gson.internal.LinkedTreeMap (Vulnerable Component) ```
### Vulnerability DetailsThe 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.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25647`
Release Date: 2022-05-01
Fix Resolution: 2.8.9
In order to enable automatic remediation, please create workflow rules
In order to enable automatic remediation for this issue, please create workflow rules