Memory Allocation with Excessive Size Value Affecting io.undertow:undertow-core package, versions [,2.2.27.Final)[2.3.0.Alpha1,2.3.9.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.77% (73rd 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-11520814
  • published8 Aug 2025
  • 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-core to version 2.2.27.Final, 2.3.9.Final or higher.

Overview

io.undertow:undertow-core is a Java web server based on non-blocking IO.

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 Base Scores

version 3.1