CVE-2017-5638: 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-…

CVE-2017-5638 affects 47 listed versions of Aruba ClearPass Policy Manager, Apache Struts in the Dawnsentry catalogue. It is known to be exploited in the wild.

9.8CVSS critical
In CISA's KEV catalogue since 2021-11-03exploitation
100%EPSS (next 30 days)
11 March 2017published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Aruba ClearPass Policy Manager

36 of 113 listed versions are affected. Fixed in 6.6.5. The newest release, 6.14.1-HF3, is not affected.

6.6.2 6.6.0 6.5.7 6.5.6 6.5.5 6.5.4 6.5.3 6.5.2 6.5.1 6.5.0 6.5 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.0 6.3.6 6.3.5 6.3.4 6.3.0.61712 6.3.0.60730 6.3 6.2.6.62196 6.2.6 6.2.5.61640 6.2 6.1.4.61696 6.1.4 6.1 6.0.2 6.0.1 5.2 5.1 5.0.1

Apache Struts

11 of 125 listed versions are affected. Fixed in 2.3.32. The newest release, 7.5.1, is not affected.

2.3.31 2.3.30 2.3.29 2.3.28.1 2.3.28 2.3.27 2.3.26 2.3.25 2.3.24.3 2.2.3.1 2.2.3

What it is

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Apache Software Foundation on 11 March 2017. Last changed 17 June 2026. CISA lists it as used in ransomware campaigns. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2017-5638 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.