HIGH 7.5

CVE-2018-1327

Apache Struts REST Plugin can potentially allow a DoS attack

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-rest-plugin
>= 2.1.1, < 2.5.16
2.5.16

Blast radius

1affected artifacts
60affected versions
45dependent artifacts (est.)
768dependent versions

24% of the dependent artifacts (11) still pull an affected version in their latest release.

DepthDependent versions
Direct
511
2 hops
148
3 hops
109

Most used dependents

Computed from the dependency graph of build 20261201.0702 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.