CVE-2023-34149
Apache Struts vulnerable to memory exhaustion
Description
Denial of service via out of memory (OOM) owing to not properly checking of list bounds. 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 OOM if developer has set struts.multipart.maxSize to a value equal or greater than the available memory.
Upgrade to Struts 2.5.31 or 6.1.2.1 or greater.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | < 2.5.31>= 6.0.0, < 6.1.2.1 | 2.5.31, 6.1.2.1 |
Blast radius
35% of the dependent artifacts (267) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 19,430 |
| 2 hops | 146,663 |
| 3 hops | 59,998 |
| 4 hops | 11,432 |
| 5 hops | 1,383 |
| 6 hops | 352 |
Most used dependents
- com.atlassian.confluence » confluence724 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- com.atlassian.jira » jira-func-tests212 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- com.atlassian.bamboo » atlassian-bamboo-api171 usages
- com.atlassian.confluence » confluence-test-support158 usages
- com.atlassian.confluence » confluence-webdriver-support143 usages
- org.nuiton.i18n » i18n-maven-plugin132 usages
- com.atlassian.bamboo » atlassian-bamboo-core127 usages
- com.atlassian.confluence » atlassian-confluence-pageobjects119 usages
- com.atlassian.bamboo » atlassian-bamboo-test-utils105 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- com.atlassian.confluence.plugins » confluence-functestrpc-plugin77 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
Computed from the dependency graph of build 20261129.0021 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-34149 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 2d6f1bc | github.com |
| Web | confluence/display/WW/S2-063 | cwiki.apache.org |
| Web | apache/struts release STRUTS_2_5_31 | github.com |
| Web | apache/struts release STRUTS_6_1_2_1 | github.com |
| Web | advisory/ntap-20230706-0005 | security.netapp.com |
| Web | lists/oss-security/2023/06/14/2 | openwall.com |
