CVEfocus › CVE database › CVE-2023-26048

CVE-2023-26048OutOfMemoryError for large multipart without filename in Eclipse Jetty

CVSS 5.3 MediumEPSS 2.7% (higher than 87% of CVEs)Published 2023-04-18Updated 2025-02-13Assigner: GitHub_M

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).

CWE-400

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
6Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04jettyFix pendingUBUNTU-CVE-2023-26048
Ubuntu 14.04jettyFix pendingUBUNTU-CVE-2023-26048
Debian 14jetty9Fixed9.4.52-1DEBIAN-CVE-2023-26048
Debian 13jetty9Fixed9.4.52-1DEBIAN-CVE-2023-26048
Debian 12jetty9Fixed9.4.50-4+deb12u1DEBIAN-CVE-2023-26048
Red Hat Enterprise Linux 9log4jWill not fix
Will not fix
Red Hat Enterprise Linux 9log4j-jclWill not fix
Will not fix
Red Hat Enterprise Linux 9log4j-slf4jWill not fix
Will not fix
Red Hat Enterprise Linux 8log4jFix pending
Affected
Red Hat Enterprise Linux 8log4j-jclFix pending
Affected
Red Hat Enterprise Linux 8log4j-slf4jFix pending
Affected
Red Hat Enterprise Linux 8log4j-webFix pending
Affected
Maven libraryorg.eclipse.jetty:jetty-serverFixed10.0.14GHSA-qw69-rqj8-6qw8

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.