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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-rest-plugin | >= 2.1.1, < 2.5.16 | 2.5.16 |
Blast radius
24% of the dependent artifacts (11) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 511 |
| 2 hops | 148 |
| 3 hops | 109 |
Most used dependents
- org.egov » egov-egi32 usages
- org.egov » egov-eis14 usages
- org.egov » egov-collection8 usages
- org.egov » egov-egf8 usages
- org.egov » egov-portal7 usages
- org.egov » egov-commons5 usages
- org.egov » egov-demand5 usages
- org.egov » egov-ptis5 usages
- org.egov » egov-pgr4 usages
- org.egov » egov-assets3 usages
- org.egov » egov-wtms3 usages
- org.onebusaway » onebusaway-api-webapp2 usages
- com.moomanow » moomanow-struts2-core2 usages
- org.egov » egov-adtax2 usages
- org.egov » egov-tl2 usages
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.
References
| Advisory | NVD CVE-2018-1327 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 4260bee | github.com |
| Web | apache/struts commit 67ecf3a | github.com |
| Web | apache/struts commit 9260720 | github.com |
| Web | confluence/display/WW/S2-056 | cwiki.apache.org |
| Web | thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3@<issues.struts.apach ... | lists.apache.org |
| Web | thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db@<issues.struts.apach ... | lists.apache.org |
| Web | advisory/ntap-20180330-0001 | security.netapp.com |
| Web | web/20200227124859/http:/www.securityfocus.com/bid/103516 | web.archive.org |
| Web | web/20200923124543/http:/www.securitytracker.com/id/1040575 | web.archive.org |
| Web | technetwork/security-advisory/cpujul2018-4258247.html | oracle.com |
