CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability
- Critical 9.8
- Exploited: added to CISA KEV 3 Nov 2021
- Used in ransomware campaigns
- A public exploit reference is listed
Description
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.
Key facts
- Published
- 11 Mar 2017
- Last changed
- 21 Oct 2025
- Assigned by
- apache
- KEV added
- 3 Nov 2021
- KEV fix due
- 3 May 2022
- Used in ransomware
- Yes, according to CISA
- EPSS
- 99.999% likely to be exploited in the next 30 days, higher than 99.995% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: yes; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 9.8CVSS 3.1, Criticalfrom CISA (ADP container)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What to do
- Apply updates per vendor instructions.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Struts |
|
Timeline
- 11 Mar 2017 Published
- 3 Nov 2021 CVE-2017-5638 added to CISA KEV
- 3 Nov 2021 Added to the CISA KEV catalogue
Weakness
References
- nmap.org
- www.arubanetworks.com
- arstechnica.com
- 41570
- security.netapp.com
- github.com
- struts.apache.org
- blog.talosintelligence.com
- www.imperva.com
- h20566.www2.hpe.com
- VU#834067
- isc.sans.edu
- struts.apache.org
- 1037973
- www.eweek.com
- 96729
- twitter.com
- github.com
- packetstormsecurity.com
- www.symantec.com
- support.lenovo.com
- git1-us-west.apache.org
- h20566.www2.hpe.com
- git1-us-west.apache.org
- cwiki.apache.org
- 41614
- cwiki.apache.org
- www.oracle.com
- h20566.www2.hpe.com
- blog.trendmicro.com
- [announce] 20200131 Apache Software Foundation Security Report: 2019
- [announce] 20210125 Apache Software Foundation Security Report: 2020
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020