Vulnerability Details : CVE-2023-26048
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).
Products affected by CVE-2023-26048
- cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*
- cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*
- cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-26048
0.27%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 69 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-26048
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
3.9
|
1.4
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
3.9
|
1.4
|
GitHub, Inc. | |
5.3
|
MEDIUM | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
N/A
|
N/A
|
Oracle:CPUOct2023 |
CWE ids for CVE-2023-26048
-
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.Assigned by: security-advisories@github.com (Primary)
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by: nvd@nist.gov (Secondary)
References for CVE-2023-26048
-
https://github.com/eclipse/jetty.project/issues/9076
Clean up multipart · Issue #9076 · eclipse/jetty.project · GitHubPatch
-
https://www.debian.org/security/2023/dsa-5507
Debian -- Security Information -- DSA-5507-1 jetty9
-
https://github.com/eclipse/jetty.project/pull/9344
Cleanup Multipart handling by lachlan-roberts · Pull Request #9344 · eclipse/jetty.project · GitHubPatch
-
https://security.netapp.com/advisory/ntap-20230526-0001/
April 2023 Eclipse Jetty Vulnerabilities in NetApp Products | NetApp Product Security
-
https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html
[SECURITY] [DLA 3592-1] jetty9 security update
-
https://github.com/eclipse/jetty.project/pull/9345
multipart cleanups jetty 9 by lachlan-roberts · Pull Request #9345 · eclipse/jetty.project · GitHubPatch
-
https://github.com/jakartaee/servlet/blob/6.0.0/spec/src/main/asciidoc/servlet-spec-body.adoc#32-file-upload
servlet/servlet-spec-body.adoc at 6.0.0 · jakartaee/servlet · GitHubTechnical Description
-
https://github.com/eclipse/jetty.project/security/advisories/GHSA-qw69-rqj8-6qw8
OutOfMemoryError for large multipart without filename read via request.getParameter() · Advisory · eclipse/jetty.project · GitHubVendor Advisory
Jump to