Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2017-5638: Apache Struts Remote Code Execution Vulnerability

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEWATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2017-5638 is a critical-severity flaw (CVSS 9.8) affecting struts, storwize v3500 firmware, storwize v5000 firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Used in ransomware campaigns
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance100.0% (top 1%)
CISA exploited listYes, fix due 2022-05-03, used in ransomware
WeaknessCWE-755
Published2017-03-11
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache · hp · ibm · lenovo

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache struts UPGRADE
Affected: >= 2.2.3 and < 2.3.32 · >= 2.5.0 and < 2.5.10.1
Fixed in: 2.3.32, 2.5.10.1
Safe to downgrade to: a release before 2.2.3
1. Check installed version
apt-cache policy struts || rpm -q struts || struts --version
2. UPGRADE to 2.3.32 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade struts
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade struts
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.2.3 (Debian / Ubuntu)
apt-cache madison struts sudo apt install struts=<VERSION_BEFORE_2.2.3> sudo apt-mark hold struts
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list struts sudo dnf downgrade struts-<VERSION_BEFORE_2.2.3> sudo dnf versionlock add struts
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
ibm storwize v3500 firmware MITIGATE
Affected: 7.7.1.6 · 7.8.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.7.1.6
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
ibm storwize v5000 firmware MITIGATE
Affected: 7.7.1.6 · 7.8.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.7.1.6
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
ibm storwize v7000 firmware MITIGATE
Affected: 7.7.1.6 · 7.8.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.7.1.6
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
lenovo storage v5030 firmware MITIGATE
Affected: 7.7.1.6 · 7.8.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.7.1.6
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
hp server automation DOWNGRADE
Affected: 9.1.0 · 10.0.0 · 10.1.0 · 10.2.0 · 10.5.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.1.0
1. Check installed version
apt-cache policy server-automation || rpm -q server-automation || server-automation --version
2. No fixed release: DOWNGRADE to a release before 9.1.0 (Debian / Ubuntu)
apt-cache madison server-automation sudo apt install server-automation=<VERSION_BEFORE_9.1.0> sudo apt-mark hold server-automation
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list server-automation sudo dnf downgrade server-automation-<VERSION_BEFORE_9.1.0> sudo dnf versionlock add server-automation
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Maven · org.apache.struts:struts2-core · FIXED · 2.3.32 · vulnerable: >= 2.3.0, <= 2.3.31 · source
Set org.apache.struts:struts2-core to 2.3.32 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · root · FIXED · 6.40.04-7.fc46 · FEDORA-2026-7329868400 · source
sudo dnf upgrade --advisory=FEDORA-2026-7329868400

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Advisories and coverage

Research and news

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2017-5638?

struts: upgrade to 2.3.32, 2.5.10.1; storwize v3500 firmware: mitigate or apply the listed mitigation; storwize v5000 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2017-5638 being exploited?

Yes. CVE-2017-5638 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2017-5638 affect?

CVE-2017-5638 affects struts, storwize v3500 firmware, storwize v5000 firmware. Severity is critical (CVSS 9.8). 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 comm

How urgent is CVE-2017-5638?

Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Apache Struts vulnerabilities · Lenovo vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.