Memory Allocation with Excessive Size Value Affecting io.undertow:undertow-servlet package, versions [,2.2.25.Final)[2.3.0,2.3.7.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
1.12% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IOUNDERTOW-5826041
  • published8 Aug 2023
  • disclosed7 Aug 2023
  • creditUnknown

Introduced: 7 Aug 2023

CVE-2023-3223  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade io.undertow:undertow-servlet to version 2.2.25.Final, 2.3.7.Final or higher.

Overview

io.undertow:undertow-servlet is a Servlet 4.0 implementation for Undertow

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value due to improper @MultipartConfig annotation handling for very large multipart content.

Note: 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.

CVSS Scores

version 3.1