The Common Data Model (CDM) is a standard and extensible collection of schemas (entities, attributes, relationships) that represents business concepts and activities with well-defined semantics, to facilitate data interoperability. Examples of entities include: Account, Contact, Lead, Opportunity, Product, etc.
Path to dependency file: /samples/6-create-net-new-entities/code-java/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar
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.
CVE-2022-25647 - High Severity Vulnerability
Vulnerable Library - gson-2.8.0.jar
Gson JSON library
Library home page: https://github.com/google/gson
Path to dependency file: /samples/6-create-net-new-entities/code-java/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar
Dependency Hierarchy: - objectmodel-1.1.0.jar (Root Library) - adal4j-1.6.5.jar - :x: **gson-2.8.0.jar** (Vulnerable Library)
Found in base branch: master
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
For more information on CVSS3 Scores, click here.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.microsoft.commondatamodel:objectmodel): 1.2.0
Step up your Open Source Security Game with Mend here