CVE-2017-5638The 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 r…
Updated under an hour ago ()
Does this affect you?
It affects Apache Software Foundation Apache Struts and 9 other products. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Nov 3, 2021; federal agencies had to remediate by May 3, 2022, and it is known to be used in ransomware. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 9.8 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-755
- Known exploited
- Added to CISA KEV Nov 3, 2021; federal remediation due May 3, 2022; known ransomware useApply updates per vendor instructions.
- EPSS (exploitation in the next 30 days)
- 100.00% (percentile 100)
- Assigned by
- apache
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Apache Software Foundation Apache Struts apache_software_foundation:apache_struts (from the name) | 2.3.x before 2.3.32; 2.5.x before 2.5.10.1 | CNA record |
apache struts apache:struts | from 2.2.3 before 2.3.32; from 2.5.0 before 2.5.10.1 | NVD |
ibm storwize_v3500_firmware ibm:storwize_v3500_firmware | 7.7.1.6; 7.8.1.0 | NVD |
ibm storwize_v5000_firmware ibm:storwize_v5000_firmware | 7.7.1.6; 7.8.1.0 | NVD |
ibm storwize_v7000_firmware ibm:storwize_v7000_firmware | 7.7.1.6; 7.8.1.0 | NVD |
lenovo storage_v5030_firmware lenovo:storage_v5030_firmware | 7.7.1.6; 7.8.1.0 | NVD |
hp server_automation hp:server_automation | 9.1.0; 10.0.0; 10.1.0; 10.2.0; 10.5.0 | NVD |
oracle weblogic_server oracle:weblogic_server | 10.3.6.0.0; 12.1.3.0.0; 12.2.1.1.0; 12.2.1.2.0 | NVD |
arubanetworks clearpass_policy_manager arubanetworks:clearpass_policy_manager | before 6.6.5 | NVD |
netapp oncommand_balance netapp:oncommand_balance | all versions | NVD |
References
- https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlx-refsource-misc, exploit, third-party-advisory
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txtx-refsource-confirm, third-party-advisory
- https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/x-refsource-misc, exploit, press/media-coverage
- https://exploit-db.com/exploits/41570exploit, x-refsource-exploit-db, third-party-advisory, vdb-entry
- https://security.netapp.com/advisory/ntap-20170310-0001/x-refsource-confirm, third-party-advisory
- https://github.com/rapid7/metasploit-framework/issues/8064x-refsource-misc, exploit, issue-tracking
- https://struts.apache.org/docs/s2-046.htmlx-refsource-confirm
- http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlx-refsource-misc, exploit, third-party-advisory
- https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/x-refsource-misc
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_usx-refsource-confirm, broken-link
- https://www.kb.cert.org/vuls/id/834067third-party-advisory, x-refsource-cert-vn
- https://isc.sans.edu/diary/22169x-refsource-misc, exploit, third-party-advisory
- https://struts.apache.org/docs/s2-045.htmlx-refsource-confirm
- http://www.securitytracker.com/id/1037973vdb-entry, x-refsource-sectrack, broken-link, third-party-advisory
- http://www.eweek.com/security/apache-struts-vulnerability-under-attack.htmlx-refsource-misc, press/media-coverage, third-party-advisory
- http://www.securityfocus.com/bid/96729vdb-entry, x-refsource-bid, broken-link, third-party-advisory
- https://twitter.com/theog150/status/841146956135124993x-refsource-misc
- https://github.com/mazen160/struts-pwnx-refsource-misc, exploit
- https://packetstormsecurity.com/files/141494/S2-45-poc.py.txtx-refsource-misc, broken-link, exploit, third-party-advisory, vdb-entry
- https://www.symantec.com/security-center/network-protection-security-advisories/SA145x-refsource-confirm
- https://support.lenovo.com/us/en/product_security/len-14200x-refsource-confirm
- https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519ax-refsource-confirm, broken-link
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_usx-refsource-confirm, third-party-advisory
- https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228x-refsource-confirm, broken-link
- https://cwiki.apache.org/confluence/display/WW/S2-045x-refsource-confirm, mitigation, vendor-advisory
- http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/exploit, third-party-advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.htmlpatch, third-party-advisory
- https://cwiki.apache.org/confluence/display/WW/S2-046mitigation, vendor-advisory
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03749en_usthird-party-advisory
- https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3Emailing-list
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3Emailing-list
- https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3Emailing-list
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.