CVE-2023-3223
Undertow: outofmemoryerror due to @multipartconfig handling
HIGH 7.5
At a glance
- Source
- NVD
- EPSS
- EPSS 2.66 % · percentile 86 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-789 — Memory Allocation with Excessive Size Value
References
- https://access.redhat.com/errata/RHSA-2023:4505
- https://access.redhat.com/errata/RHSA-2023:4506
- https://access.redhat.com/errata/RHSA-2023:4507
- https://access.redhat.com/errata/RHSA-2023:4509
- https://access.redhat.com/errata/RHSA-2023:4918
- https://access.redhat.com/errata/RHSA-2023:4919
- https://access.redhat.com/errata/RHSA-2023:4920
- https://access.redhat.com/errata/RHSA-2023:4921
- https://access.redhat.com/errata/RHSA-2023:4924
- https://access.redhat.com/errata/RHSA-2023:7247
- https://access.redhat.com/security/cve/CVE-2023-3223
- https://bugzilla.redhat.com/show_bug.cgi?id=2209689
- https://security.netapp.com/advisory/ntap-20231027-0004/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-65h2-wf7m-q2v8 — Undertow vulnerable to denial of service
European references
- ENISA EUVD · EUVD-2023-2441
- GCVE · GCVE-0-2023-3223
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:undertow:*:*:*:*:*:*:*:*< 2.2.24cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:4.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:jboss_enterprise_application_platform_text-only_advisories:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:*cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.4:*:*:*:*:*:*:*
Affected products
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |