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).
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3592-1 | jetty9 security update |
Debian DSA |
DSA-5507-1 | jetty9 security update |
Github GHSA |
GHSA-qw69-rqj8-6qw8 | OutOfMemoryError for large multipart without filename in Eclipse Jetty |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 12 Feb 2025 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-02-13T16:44:44.177Z
Reserved: 2023-02-17T22:44:03.150Z
Link: CVE-2023-26048
Updated: 2024-08-02T11:39:06.487Z
Status : Modified
Published: 2023-04-18T21:15:08.977
Modified: 2024-11-21T07:50:39.493
Link: CVE-2023-26048
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
Github GHSA