Undertow OOM via MultipartConfig Bypass for Remote DoS
CVE-2023-3223 Published on September 27, 2023
Undertow: outofmemoryerror due to @multipartconfig handling
A flaw was found in undertow. Servlets annotated with @MultipartConfig may cause an OutOfMemoryError due to large multipart content. This may allow unauthorized users to cause remote Denial of Service (DoS) attack. If the server uses fileSizeThreshold to limit the file size, it's possible to bypass the limit by setting the file name in the request to null.
Vulnerability Analysis
CVE-2023-3223 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Timeline
Reported to Red Hat.
Made public. 75 days later.
Weakness Type
What is a Stack Exhaustion Vulnerability?
The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
CVE-2023-3223 has been classified to as a Stack Exhaustion vulnerability or weakness.
Products Associated with CVE-2023-3223
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat Fuse 7.12.1: Red Hat JBoss Enterprise Application Platform 7.1.0: Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8:- Version 0:2.2.25-3.SP3_redhat_00001.1.el8eap and below * is unaffected.
- Version 0:2.2.25-3.SP3_redhat_00001.1.el9eap and below * is unaffected.
- Version 0:2.2.25-3.SP3_redhat_00001.1.el7eap and below * is unaffected.
- Version 0:18.0.9-1.redhat_00001.1.el7sso and below * is unaffected.
- Version 0:18.0.9-1.redhat_00001.1.el8sso and below * is unaffected.
- Version 0:18.0.9-1.redhat_00001.1.el9sso and below * is unaffected.
- Version 7.6-27 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.