VDB
Sign up
HIGH7.5

GHSA-38cr-2ph5-frr9

Apache Struts REST Plugin can potentially allow a DoS attack

Quick fix

GHSA-38cr-2ph5-frr9 — org.apache.struts:struts2-rest-plugin: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.5.16</version> for org.apache.struts:struts2-rest-plugin

Details

The Apache Struts REST Plugin is using XStream library which is vulnerable and allow perform a DoS attack when using a malicious request with specially crafted XML payload. Upgrade to the Apache Struts version 2.5.16 and switch to an optional Jackson XML handler as described here http://struts.apache.org/plugins/rest/#custom-contenttypehandlers. Another option is to implement a custom XML handler based on the Jackson XML handler from the Apache Struts 2.5.16.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-rest-plugin
Introduced in: 2.1.1Fixed in: 2.5.16
Fix# pom.xml: bump <version>2.5.16</version> for org.apache.struts:struts2-rest-plugin

References