ioana-nicolae / keycloak

Open Source Identity and Access Management For Modern Applications and Services
https://www.keycloak.org
Apache License 2.0
0 stars 0 forks source link

CVE-2022-25647 (High) detected in gson-2.8.5.jar, gson-2.8.4.jar #235

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-25647 - High Severity Vulnerability

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

gson-2.8.5.jar

Gson JSON library

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

Path to dependency file: /adapters/saml/wildfly/wildfly-adapter/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar

Dependency Hierarchy: - integration-arquillian-testsuite-providers-13.0.0-SNAPSHOT.jar (Root Library) - keycloak-dependencies-server-all-13.0.0-SNAPSHOT.pom - keycloak-model-infinispan-13.0.0-SNAPSHOT.jar - infinispan-cachestore-remote-11.0.4.Final.jar - infinispan-client-hotrod-11.0.4.Final.jar - :x: **gson-2.8.5.jar** (Vulnerable Library)

gson-2.8.4.jar

Gson JSON library

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

Path to dependency file: /testsuite/model/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.4/gson-2.8.4.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.4/gson-2.8.4.jar,/home/wss-scanner/.m2/repository/com/google/code/gson/gson/2.8.4/gson-2.8.4.jar

Dependency Hierarchy: - integration-arquillian-tests-base-13.0.0-SNAPSHOT.jar (Root Library) - java-client-6.1.0.jar - :x: **gson-2.8.4.jar** (Vulnerable Library)

Found in HEAD commit: 34eee947640ca637662cb41e649c6acf8b6d8c2e

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.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 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:gson-parent-2.8.9