CVE-2017-5638
Critical · 9.8 CISA KEV · ransomwareCVSS
9.8
EPSS
100.0%
Published
Mar 11, 2017
CISA due date
May 3, 2022
The record
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.apache.struts:struts2-core | 2.3.0 | 2.3.32 |
| Maven | org.apache.struts:struts2-core | 2.5.0 | 2.5.10.1 |
| maven | org.apache.struts/struts2-core | 2.3.0 | 2.3.32 |
| maven | org.apache.struts/struts2-core | 2.3.15 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.16 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.17 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.19 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.21 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.25 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.29 | No fix |
| maven | org.apache.struts/struts2-core | 2.3.5 | No fix |
| maven | org.apache.struts/struts2-core | 2.5 | No fix |
| maven | org.apache.struts/struts2-core | 2.5.0 | 2.5.10.1 |
Related vulnerabilities
- GHSA-qcfc-hmrc-59x7 Apache Struts 2 is Missing XML Validation Also affects org.apache.struts:struts2-core
- CVE-2025-68493 Missing XML Validation vulnerability in Apache Struts, Apache Struts. Also affects org.apache.struts:struts2-core
- GHSA-rg58-xhh7-mqjw Apache Struts has a Denial of Service vulnerability Also affects org.apache.struts:struts2-core
- CVE-2025-66675 Apache Struts has a Denial of Service vulnerability Also affects org.apache.struts:struts2-core
- GHSA-xx7v-hqxh-cjr9 Apache Struts is Vulnerable to DoS via File Leak Also affects org.apache.struts:struts2-core
- CVE-2025-64775 Apache Struts is Vulnerable to DoS via File Leak Also affects org.apache.struts:struts2-core
- CVE-2024-53677 Apache Struts file upload logic is flawed Also affects org.apache.struts:struts2-core
- CVE-2012-1592 A local code execution issue exists in Apache Struts2 when processing malformed XSLT… Also affects org.apache.struts:struts2-core