Live threats

All CVEs / Apache

CVE-2017-5638Apache Struts

Remote Code Execution in Apache Struts via Improper Exception Handling

Critical 9.8 KEVRansomware No auth neededHigh EPSS

Priority
99
CVSS 3.1
9.8
EPSS
100.0%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Nov 3, 2021
CISA deadline
May 3, 2022
Ransomware use
Confirmed
Published
Mar 11, 2017
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-755
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The Jakarta Multipart parser in Apache Struts 2 (versions 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1) has improper exception handling during file upload attempts. An unauthenticated remote attacker can execute arbitrary commands via a crafted HTTP Content-Type, Content-Disposition, or Content-Length header. CISA confirmed this vulnerability as actively exploited in the wild since March 2017.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.3.32, 2.5.10.1

Update Apache Struts to version 2.3.32 or later (2.3 branch) or 2.5.10.1 or later (2.5 branch). Review vendor mitigations if immediate patching is not possible.

Vendor advisory · struts.apache.org ↗

  1. Apply the vendor's security update for Struts.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-core ≥ 2.3.0 < 2.3.32 2.3.32 —
Maven org.apache.struts:struts2-core ≥ 2.5.0 < 2.5.10.1 2.5.10.1 —

Per OSV / GitHub Advisories (GHSA-j77q-2qqg-6989). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts≥ 2.2.3 < 2.3.32
apachestruts≥ 2.5.0 < 2.5.10.1
ibmstorwize_v3500_firmware7.7.1.6
ibmstorwize_v3500_firmware7.8.1.0
ibmstorwize_v5000_firmware7.7.1.6
ibmstorwize_v5000_firmware7.8.1.0
ibmstorwize_v7000_firmware7.7.1.6
ibmstorwize_v7000_firmware7.8.1.0
lenovostorage_v5030_firmware7.7.1.6
lenovostorage_v5030_firmware7.8.1.0
hpserver_automation9.1.0
hpserver_automation10.0.0
hpserver_automation10.1.0
hpserver_automation10.2.0
hpserver_automation10.5.0
oracleweblogic_server10.3.6.0.0
oracleweblogic_server12.1.3.0.0
oracleweblogic_server12.2.1.1.0
oracleweblogic_server12.2.1.2.0
arubanetworksclearpass_policy_manager< 6.6.5
netapponcommand_balanceall

Official sources

References

Links published by the sources. Open them with care.