CVE-2023-50164
Apache Struts vulnerable to path traversal
Description
An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | >= 2.0.0, < 2.5.33>= 6.0.0, < 6.3.0.2 | 2.5.33, 6.3.0.2 |
Blast radius
38% of the dependent artifacts (302) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 22,012 |
| 2 hops | 164,656 |
| 3 hops | 67,722 |
| 4 hops | 13,554 |
| 5 hops | 1,558 |
| 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.confluence » confluence-test-utils116 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
Computed from the dependency graph of build 20261125.0317 (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-50164 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 162e29f | github.com |
| Web | apache/struts commit d8c6969 | github.com |
| Web | confluence/display/WW/S2-066 | cwiki.apache.org |
| Web | thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj | lists.apache.org |
| Web | advisory/ntap-20231214-0010 | security.netapp.com |
| Web | lists/oss-security/2023/12/07/1 | openwall.com |
| Web | files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html | packetstormsecurity.com |
| Web | lists/oss-security/2023/12/07/1 | openwall.com |
