CVE-2017-5638
CRITICALCISA KEVEPSS 100th pctlDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Very high risk: more likely to be exploited than 100% of all known CVEs.
Apache Struts Remote Code Execution Vulnerability
Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
Apply updates per vendor instructions.
Remediation due: 2022-05-03
Associated with ransomware campaigns
References
Related Vulnerabilities
Other CWE-755 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-7247 | Critical | 9.8 | 99% | KEV | Fix |
| CVE-2023-36933 | High | 7.5 | 72% | - | Fix |
| CVE-2018-0934 | High | 7.5 | 67% | - | Fix |
| CVE-2019-14287 | High | 8.8 | 64% | - | Fix |
| CVE-2019-12815 | Critical | 9.8 | 58% | - | Fix |
| CVE-2021-28165 | High | 7.5 | 54% | - | Fix |
Common questions
How do I fix CVE-2017-5638?
Published advisories record a fix for 2 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2017-5638 being actively exploited?
Yes. CVE-2017-5638 is listed in the CISA Known Exploited Vulnerabilities catalog, which means exploitation has been observed in the wild. CISA has also linked it to known ransomware campaigns. US federal agencies were required to remediate it by 2022-05-03. Treat it as a priority whatever its CVSS score says.
How severe is CVE-2017-5638?
CVE-2017-5638 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2017-5638 affect?
Published advisories record a fix for clearpass policy manager (NVD), struts (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2017-5638
Markdown
[](https://tridentstack.com/cve/CVE-2017-5638)HTML
<a href="https://tridentstack.com/cve/CVE-2017-5638"><img src="https://tridentstack.com/cve/badge/CVE-2017-5638.svg" alt="CVE-2017-5638"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-21.