Resource Exhaustion Affecting jetty-server package, versions <9.4.51-150200.3.19.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.27% (68th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES155-JETTYSERVER-5721562
  • published20 Jun 2023
  • disclosed19 Jun 2023

Introduced: 19 Jun 2023

CVE-2023-26048  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 jetty-server to version 9.4.51-150200.3.19.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jetty-server package and not the jetty-server package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

Jetty is a java based web server and servlet engine. In affected versions servlets with multipart support (e.g. annotated with @MultipartConfig) that call HttpServletRequest.getParameter() or HttpServletRequest.getParts() may cause OutOfMemoryError when the client sends a multipart request with a part that has a name but no filename and very large content. This happens even with the default settings of fileSizeThreshold=0 which should stream the whole part content to disk. An attacker client may send a large multipart request and cause the server to throw OutOfMemoryError. However, the server may be able to recover after the OutOfMemoryError and continue its service -- although it may take some time. This issue has been patched in versions 9.4.51, 10.0.14, and 11.0.14. Users are advised to upgrade. Users unable to upgrade may set the multipart parameter maxRequestSize which must be set to a non-negative value, so the whole multipart content is limited (although still read into memory).

CVSS Scores

version 3.1