{"id":"CVE-2023-34396","aliases":["CVE-2023-34396","GHSA-4g42-gqrg-4633"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Struts: DoS via OOM owing to no sanity limit on normal form fields in multipart forms","summary":"Allocation of Resources Without Limits or Throttling vulnerability in Apache Software Foundation Apache Struts.This issue affects Apache Struts: through 2.5.30, through 6.1.2.\n\nUpgrade to Struts 2.5.31 or 6.1.2.1 or greater","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Allocation of Resources Without Limits or Throttling vulnerability in Apache Software Foundation Apache Struts.This issue affects Apache Struts: through 2.5.30, through 6.1.2.\n\nUpgrade to Struts 2.5.31 or 6.1.2.1 or greater","source":"cvelist"},{"lang":"en","text":"Denial of service via out of memory (OOM) owing to no sanity limit on normal form fields in multipart forms. When a Multipart request has non-file normal form fields, Struts used to bring them into memory as Strings without checking their sizes. This could lead to an OOM if developer has set struts.multipart.maxSize to a value equal or greater than the available memory.\n\nUpgrade to Struts 2.5.31 or 6.1.2.1 or greater","format":"markdown","source":"ghsa"}],"published":"2023-06-14T07:50:59.730Z","modified":"2026-06-17T06:03:33.020Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.5.30","status":"affected"},{"type":"semver","introduced":"0","lastAffected":"6.1.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Struts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.5.31"}],"ecosystem":"Maven","package":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.1.2.1"}],"ecosystem":"Maven","package":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.3.10"}],"ecosystem":"Maven","package":"org.apache.struts:struts-core","purl":"pkg:maven/org.apache.struts/struts-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.2.9"}],"ecosystem":"Maven","package":"struts:struts","purl":"pkg:maven/struts/struts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.5.31"},{"status":"affected","introduced":"6.0.0","fixed":"6.1.2.1"}],"vendor":"apache","product":"struts","cpe":"cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://cwiki.apache.org/confluence/display/WW/S2-064","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/06/14/3","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230706-0005/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34396","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts/releases/tag/STRUTS_2_5_31","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts/releases/tag/STRUTS_6_1_2_1","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230706-0005","tags":["web"],"sources":["ghsa"]}],"credits":["Matthew McClain"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-09T14:04:35.407Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34396","url":"https://www.cve.org/CVERecord?id=CVE-2023-34396","licence":"CVE Terms of Use","modified":"2025-02-13T16:55:30.737Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4g42-gqrg-4633","url":"https://github.com/advisories/GHSA-4g42-gqrg-4633","licence":"CC-BY-4.0","modified":"2025-10-13T13:09:04.438Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34396","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34396","licence":"Public domain","modified":"2026-06-17T06:03:33.020Z"}],"updatedAt":"2026-11-25T22:58:24.825Z","epss":{"score":0.05467,"percentile":0.92925,"date":"2026-12-01T12:00:22.000Z"}}