CVE-2017-9805Apache Struts
Remote Code Execution in Apache Struts REST Plugin via Unfiltered Deserializati…
High 8.1 KEV No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 8.1
- EPSS
- 99.3% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Unknown
- Published
- Sep 15, 2017
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache Struts REST Plugin versions 2.1.2 through 2.3.33 and 2.5.0 through 2.5.12 deserialize XML data without type filtering using XStream, allowing unauthenticated remote code execution. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.
Exploitation confirmed by CISA
Apache Struts REST Plugin uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to remote code execution when deserializing XML payloads.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 2.3.34, 2.5.13
Update Apache Struts to version 2.3.34 or later (2.3 branch) or 2.5.13 or later (2.5 branch). Disable REST Plugin if not required.
- Apply the vendor's security update for Struts.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 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-rest-plugin |
≥ 2.1.1 < 2.3.34 |
2.3.34 |
— |
| Maven | org.apache.struts:struts2-rest-plugin |
≥ 2.5.0 < 2.5.13 |
2.5.13 |
— |
Per OSV / GitHub Advisories (GHSA-gg9m-fj3v-r58c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.1.2 < 2.3.34 |
| apache | struts | ≥ 2.5.0 < 2.5.13 |
| cisco | digital_media_manager | all |
| cisco | hosted_collaboration_solution | 10.5(1) |
| cisco | hosted_collaboration_solution | 11.0(1) |
| cisco | hosted_collaboration_solution | 11.5(1) |
| cisco | hosted_collaboration_solution | 11.6(1) |
| cisco | media_experience_engine | 3.5 |
| cisco | media_experience_engine | 3.5.2 |
| cisco | network_performance_analysis | all |
| cisco | video_distribution_suite_for_internet_streaming | all |
| netapp | oncommand_balance | all |
Official sources
References
Links published by the sources. Open them with care.
- 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
- blogs.apache.org Vendor Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory VDB Entry
- cwiki.apache.org Mitigation Vendor Advisory
- lgtm.com Broken Link
- security.netapp.com Third Party Advisory
- struts.apache.org Mitigation Vendor Advisory
- tools.cisco.com Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.kb.cert.org Third Party Advisory US Government Resource
- www.cisa.gov US Government Resource