CVE-2017-9793: Apache Struts 2.3.7 - 2.3.33 and 2.5 - 2.5.12: Outdated XStream Library DoS Vulnerability

Summary

16/10/2018
Yes i
High
7.5

CVE-2017-9793: The REST Plugin in Apache Struts is using an outdated XStream library. Affects org.apache.struts:struts2-rest-plugin across 2 version ranges.

< 2.3.34 >= 2.5.0, < 2.5.13

Fixed in 2.3.34 or 2.5.13, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Struts is an open-source framework for developing Java web applications. The REST Plugin in Apache Struts versions 2.3.7 through 2.3.33 and 2.5 through 2.5.12 utilizes an outdated XStream library. XStream is a Java library used for serializing and deserializing objects to and from XML. This vulnerability allows an attacker to perform a Denial of Service (DoS) attack by sending a specially crafted XML payload in a malicious request.

Vulnerability Detail

The vulnerability arises from the use of an outdated XStream library in the REST Plugin of Apache Struts. By exploiting this vulnerability, an attacker can send a specially crafted XML payload that triggers a DoS attack. This can lead to the unavailability of the affected application, causing disruption to its normal functionality. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Latest published version: 7.4.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.3.34 2.3.34
  • >= 2.5.0, < 2.5.13 2.5.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable or block the affected REST Plugin in Apache Struts. This can be achieved by modifying the application's configuration or by implementing network-level controls to filter out requests targeting the vulnerable plugin.

Conclusion

The vulnerability in the REST Plugin of Apache Struts, caused by the use of an outdated XStream library, can be mitigated by upgrading to the latest version of Apache Struts. Alternatively, disabling or blocking the affected plugin can serve as a temporary workaround. For further assistance and support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for org.apache.struts:struts2-rest-plugin →

Share this vulnerability

FAQ

Apache Struts is an open-source framework for developing Java web applications. It provides a set of tools and libraries that simplify the development process and promote code reusability.

The REST Plugin in Apache Struts is an extension that allows developers to build RESTful web services using the Struts framework. It provides support for handling HTTP requests and responses in a RESTful manner.

XStream is a Java library used for serializing and deserializing objects to and from XML. It provides a simple API for converting Java objects to XML and vice versa.

A Denial of Service (DoS) attack is a type of cyber attack where an attacker overwhelms a target system or network with a flood of malicious requests, causing it to become unresponsive or unavailable to legitimate users.

The CVSS score of this vulnerability is 7.5, indicating a high severity level. CVSS (Common Vulnerability Scoring System) is a standardized system for assessing the severity of security vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.struts:struts2-rest-plugin.

How To Fix

Latest published version: 7.4.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.3.34 2.3.34
  • >= 2.5.0, < 2.5.13 2.5.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback