CVE-2017-9791Apache Struts 1
Remote Code Execution in Apache Struts 1 via Improper Input Validation
Critical 9.8 KEV No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts 1 We alert you by email or Slack (account required).
- Priority
- 84
- CVSS 3.1
- 9.8
- EPSS
- 98.8% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Feb 10, 2022
- CISA deadline
- Aug 10, 2022
- Ransomware use
- Unknown
- Published
- Jul 10, 2017
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-20
- 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 Struts 1 plugin in Apache Struts 2.1.x and 2.3.x allows unauthenticated remote code execution through a malicious field value passed to ActionMessage. The vulnerability affects multiple Struts 2.3.x versions and has been confirmed as exploited by CISA.
Show the original NVD text
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.
Exploitation confirmed by CISA
The Struts 1 plugin in Apache Struts might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.
Action required by CISA: Apply updates per vendor instructions.
What to do
No patch data
Review the vendor advisory at http://struts.apache.org/docs/s2-048.html for mitigation and update instructions.
- Apply the vendor's security update for Struts 1.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was August 10, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-struts1-plugin |
≤ 2.3.37 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-29rm-6752-gvwv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | 2.3.1 |
| apache | struts | 2.3.1.1 |
| apache | struts | 2.3.1.2 |
| apache | struts | 2.3.3 |
| apache | struts | 2.3.4 |
| apache | struts | 2.3.4.1 |
| apache | struts | 2.3.7 |
| apache | struts | 2.3.8 |
| apache | struts | 2.3.12 |
| apache | struts | 2.3.14 |
| apache | struts | 2.3.14.1 |
| apache | struts | 2.3.14.2 |
| apache | struts | 2.3.14.3 |
| apache | struts | 2.3.15 |
| apache | struts | 2.3.15.1 |
| apache | struts | 2.3.15.2 |
| apache | struts | 2.3.15.3 |
| apache | struts | 2.3.16 |
| apache | struts | 2.3.16.1 |
| apache | struts | 2.3.16.2 |
| apache | struts | 2.3.16.3 |
| apache | struts | 2.3.20 |
| apache | struts | 2.3.20.1 |
| apache | struts | 2.3.20.3 |
| apache | struts | 2.3.24 |
| apache | struts | 2.3.24.1 |
| apache | struts | 2.3.24.3 |
| apache | struts | 2.3.28 |
| apache | struts | 2.3.28.1 |
| apache | struts | 2.3.29 |
| apache | struts | 2.3.30 |
| apache | struts | 2.3.31 |
| apache | struts | 2.3.32 |
Official sources
References
Links published by the sources. Open them with care.
- struts.apache.org Mitigation Vendor Advisory
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- security.netapp.com Third Party Advisory
- www.exploit-db.com Third Party Advisory VDB Entry
- www.exploit-db.com Third Party Advisory VDB Entry
- www.cisa.gov US Government Resource