CVE-2017-5638

Apache Struts Remote Code Execution Vulnerability

Actively exploited · CISA KEV Ransomware use: known
9.8 CriticalCVSS v3.1
100.0%EPSS (30-day exploit probability)
2021-11-03added to KEV
2022-05-03CISA federal due date

Summary

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

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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-755
Published
2017-03-11 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Apache Struts in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2017-5638 being exploited?

Yes. CISA added CVE-2017-5638 to its Known Exploited Vulnerabilities catalog on 2021-11-03, which means there is reliable evidence of active exploitation. It is also known to be used in ransomware campaigns.

How do I fix CVE-2017-5638?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2017-5638?

The EPSS score is 100%, meaning an estimated 100% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited Apache vulnerabilities

CVE-2026-129448Apache Roller Deserialization of Untrusted Data Vulnerability2026-11-20
CVE-2026-90436Apache Axis Unsafe Reflection Vulnerability2026-11-18
CVE-2016-3081Apache Struts Command Injection Vulnerability2026-10-08
CVE-2026-34486Apache Tomcat Missing Encryption of Sensitive Data Vulnerability2026-08-04
CVE-2026-34197Apache ActiveMQ Improper Input Validation Vulnerability2026-04-16
CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability2025-05-01
CVE-2025-24813Apache Tomcat Path Equivalence Vulnerability2025-04-01
CVE-2024-45195Apache OFBiz Forced Browsing Vulnerability2025-02-04

All Apache exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.

This product uses the NVD API but is not endorsed or certified by the NVD. CVSS is owned by FIRST and used by permission; scores are shown with their vector string. Credits & licences