The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.
CVE-2022-4492 - High Severity Vulnerability
Vulnerable Library - undertow-core-2.2.10.Final.jar
Library home page: http://www.jboss.org
Path to dependency file: /webgoat-integration-tests/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.2.10.Final/undertow-core-2.2.10.Final.jar
Dependency Hierarchy: - webwolf-8.2.3-SNAPSHOT.jar (Root Library) - spring-boot-starter-undertow-2.5.4.jar - :x: **undertow-core-2.2.10.Final.jar** (Vulnerable Library)
Found in base branch: develop
Vulnerability Details
The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.
Publish Date: 2023-02-23
URL: CVE-2022-4492
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: High - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-pfcc-3g6r-8rg8
Release Date: 2023-02-23
Fix Resolution: io.undertow:undertow-core:2.2.24.Final,2.3.5.Final, io.undertow:undertow-examples:2.2.24.Final,2.3.5.Final, io.undertow:undertow-benchmarks:2.2.24.Final,2.3.5.Final