Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2017-9791: Apache Struts 1 Improper Input Validation Vulnerability

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEWATCHLISTDOWNGRADE

CVE-2017-9791 is a critical-severity flaw (CVSS 9.8) affecting struts, 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 Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • 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 chance98.9% (top 1%)
CISA exploited listYes, fix due 2022-08-10
WeaknessCWE-20
Published2017-07-10
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache

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 DOWNGRADE
Affected: 2.3.1 · 2.3.1.1 · 2.3.1.2 · 2.3.3 · 2.3.4 · 2.3.4.1 · 2.3.7 · 2.3.8
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.3.1
1. Check installed version
apt-cache policy struts || rpm -q struts || struts --version
2. No fixed release: DOWNGRADE to a release before 2.3.1 (Debian / Ubuntu)
apt-cache madison struts sudo apt install struts=<VERSION_BEFORE_2.3.1> sudo apt-mark hold struts
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list struts sudo dnf downgrade struts-<VERSION_BEFORE_2.3.1> 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.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Maven · org.apache.struts:struts2-struts1-plugin · NO FIX YET · vulnerable: <= 2.3.37 · source
Fedora 46 · rootlesskit · FIXED · 3.4.0-1.fc46 · FEDORA-2026-aff0ad0874 · source
sudo dnf upgrade --advisory=FEDORA-2026-aff0ad0874

Public exploits and detection

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

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-9791?

struts: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2017-9791 being exploited?

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

What does CVE-2017-9791 affect?

CVE-2017-9791 affects struts. Severity is critical (CVSS 9.8). The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

How urgent is CVE-2017-9791?

Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); 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

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.