CVE-2017-9805
REST Plugin in Apache Struts uses an XStreamHandler with an instance of XStream for deserialization without any type filtering
Description
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-rest-plugin | >= 2.1.1, < 2.3.34>= 2.5.0, < 2.5.13 | 2.3.34, 2.5.13 |
Blast radius
25% of the dependent artifacts (11) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 292 |
| 2 hops | 82 |
| 3 hops | 43 |
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 20261205.2030 (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-2017-9805 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 1949471 | github.com |
| Web | apache/struts commit 6dd6e5c | github.com |
| Web | foundation/entry/apache-struts-statement-on-equifax | blogs.apache.org |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | confluence/display/WW/S2-052 | cwiki.apache.org |
| Web | blog/apache_struts_CVE-2017-9805 | lgtm.com |
| Web | advisory/ntap-20170907-0001 | security.netapp.com |
| Web | docs/s2-052.html | struts.apache.org |
| Web | security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 | tools.cisco.com |
| Web | web/20170909031344/http:/www.securityfocus.com/bid/100609 | web.archive.org |
| Web | web/20170922053119/http:/www.securitytracker.com/id/1039263 | web.archive.org |
| Web | known-exploited-vulnerabilities-catalog | cisa.gov |
| Web | exploits/42627 | exploit-db.com |
| Web | vuls/id/112992 | kb.cert.org |
| Web | technetwork/security-advisory/alert-cve-2017-9805-3889403.html | oracle.com |
| Web | bid/100609 | securityfocus.com |
| Web | id/1039263 | securitytracker.com |
