CVE-2023-41835
Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability
Description
When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fix this issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | < 2.5.32>= 6.0.0, < 6.1.2.2>= 6.2.0, < 6.3.0.1 | 2.5.32, 6.1.2.2, 6.3.0.1 |
Blast radius
37% of the dependent artifacts (279) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 20,196 |
| 2 hops | 152,247 |
| 3 hops | 62,639 |
| 4 hops | 12,110 |
| 5 hops | 1,508 |
| 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-41835 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 3292152 | github.com |
| Web | apache/struts commit 4c044f1 | github.com |
| Web | apache/struts commit bf54436 | github.com |
| Web | thread/6wj530kh3ono8phr642y9sqkl67ys2ft | lists.apache.org |
| Web | advisory/ntap-20231013-0001 | security.netapp.com |
| Web | lists/oss-security/2023/12/09/1 | openwall.com |
| Web | lists/oss-security/2023/12/09/1 | openwall.com |
