{"id":"CVE-2023-26048","published":"2023-04-18T20:30:20Z","modified":"2025-02-13T16:44:44Z","title":"OutOfMemoryError for large multipart without filename in Eclipse Jetty","vendor":"eclipse","product":"jetty.project","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03369,"percentile":0.89042,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-qw69-rqj8-6qw8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eclipse/jetty.project/issues/9076","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse/jetty.project/pull/9344","tags":["x_refsource_MISC"]},{"url":"https://github.com/eclipse/jetty.project/pull/9345","tags":["x_refsource_MISC"]},{"url":"https://github.com/jakartaee/servlet/blob/6.0.0/spec/src/main/asciidoc/servlet-spec-body.adoc#32-file-upload","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20230526-0001/","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5507","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html","tags":[]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":17.81},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"eclipse","affectedVersions":[{"vendor":"eclipse","product":"jetty.project","versions":["< 9.4.51",">= 10.0.0, < 10.0.14",">= 11.0.0, < 11.0.14"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-05T19:43:53.088439Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.eclipse.jetty:jetty-server","vulnerableRanges":["<9.4.51.v20230217",">=10.0.0, <10.0.14",">=11.0.0, <11.0.14"],"patched":["9.4.51.v20230217","10.0.14","11.0.14"],"from":["GHSA-qw69-rqj8-6qw8"],"provenance":"source"}],"summary":{"text":"A flaw in Eclipse Jetty's multipart request handling, which affects servlets configured with multipart support (such as those annotated with @MultipartConfig) when they call getParameter() or getParts(), can cause uncontrolled memory consumption that leads to OutOfMemoryError. An unauthenticated remote attacker with network access can trigger it simply by sending a large multipart request containing a named part with no filename and very large content, requiring no user interaction and only default or any configuration of the affected servlet.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:29Z"},"euvd":{"id":"EUVD-2023-1382","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-28165","published":"2021-04-01","fixed":"11.0.2","kev":false},{"cve":"CVE-2021-34428","published":"2021-06-22","fixed":"11.0.3","kev":false,"link":{"from":"CVE-2021-34428","to":"CVE-2023-26048","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-server","fromFixed":"9.4.41","toFixed":"9.4.51.v20230217","daysApart":665}]}},{"cve":"CVE-2022-2191","published":"2022-07-07","fixed":"11.0.10","kev":false,"link":{"from":"CVE-2022-2191","to":"CVE-2023-26048","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-server","fromFixed":"10.0.10","toFixed":"10.0.14","daysApart":285},{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-server","fromFixed":"11.0.10","toFixed":"11.0.14","daysApart":285}]}},{"cve":"CVE-2023-26048","published":"2023-04-18","fixed":"11.0.14","kev":false},{"cve":"CVE-2024-7708","published":"2026-07-14","fixed":"11.0.23","kev":false},{"cve":"CVE-2023-26049","published":"2023-04-18","fixed":"12.0.0.beta0","kev":false},{"cve":"CVE-2024-8184","published":"2024-10-14","fixed":"12.0.9","kev":false,"link":{"from":"CVE-2023-26048","to":"CVE-2024-8184","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-server","fromFixed":"9.4.51.v20230217","toFixed":"9.4.56","daysApart":545}]}}],"package":"Maven:org.eclipse.jetty:jetty-server"}}