A flaw was found in undertow. Servlets annotated with @MultipartConfig may cause an OutOfMemoryError due to large multipart content. This may allow unauthorized users to cause remote Denial of Service (DoS) attack. If the server uses fileSizeThreshold to limit the file size, it's possible to bypass the limit by setting the file name in the request to null.
CVE-2023-3223 - High Severity Vulnerability
Vulnerable Library - undertow-servlet-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-servlet/2.2.10.Final/undertow-servlet-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-servlet-2.2.10.Final.jar** (Vulnerable Library)
Found in HEAD commit: c4196e8da2299c385e53198c98fccad8aa5ceee8
Found in base branch: develop
Vulnerability Details
A flaw was found in undertow. Servlets annotated with @MultipartConfig may cause an OutOfMemoryError due to large multipart content. This may allow unauthorized users to cause remote Denial of Service (DoS) attack. If the server uses fileSizeThreshold to limit the file size, it's possible to bypass the limit by setting the file name in the request to null.
Publish Date: 2023-09-27
URL: CVE-2023-3223
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://bugzilla.redhat.com/show_bug.cgi?id=2209689
Release Date: 2023-09-27
Fix Resolution: io.undertow:undertow-servlet:2.2.25.Final,2.3.7.Final
Step up your Open Source Security Game with Mend here