Skip to content

CVE-2017-5638

Apache Struts Remote Code Execution Vulnerability

  • Actively exploited
  • Used by ransomware
  • Critical · 9.8 of 10
Exploited since
3 Nov 2021
added to the CISA list
Chance of attacks
over 99.9%
in the next 30 days (FIRST EPSS)
Fix deadline
3 May 2022
for US federal agencies
Published
11 Mar 2017
in the NVD

What this means

Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.

CISA

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.

NIST National Vulnerability Database

What to do

Apply updates per vendor instructions.

CISA's required action. If you use the product, install the vendor's update as soon as possible.

Affected

  • Apache Software Foundation Apache Struts

Official sources

Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

May we count your visit with Google Analytics? It sets cookies only if you accept. Privacy Policy