VDB
Sign up
HIGH7.5

GHSA-vwxj-6m5m-rrvh

The REST Plugin in Apache Struts is using an outdated XStream library

Quick fix

GHSA-vwxj-6m5m-rrvh — org.apache.struts:struts2-rest-plugin: upgrade to the fixed version with the command below.

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

Details

The REST Plugin in Apache Struts 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-rest-plugin
Introduced in: 0Fixed in: 2.3.34
Fix# pom.xml: bump <version>2.3.34</version> for org.apache.struts:struts2-rest-plugin
Maven/org.apache.struts:struts2-rest-plugin
Introduced in: 2.5.0Fixed in: 2.5.13
Fix# pom.xml: bump <version>2.5.13</version> for org.apache.struts:struts2-rest-plugin

References