Resource Exhaustion Affecting jetty9 package, versions <9.4.16-0+deb10u3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (69th 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-DEBIAN10-JETTY9-5904219
  • published17 Sept 2023
  • disclosed18 Apr 2023

Introduced: 18 Apr 2023

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

How to fix?

Upgrade Debian:10 jetty9 to version 9.4.16-0+deb10u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jetty9 package and not the jetty9 package as distributed by Debian. See How to fix? for Debian:10 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