{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-9805","id":"CVE-2017-9805","title":"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.","descriptionLong":"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.","published":"2017-09-15T19:00:00.000Z","updated":"2026-10-24T10:31:06.866076251Z","reserved":"2017-06-21T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache Struts"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Struts","defaultStatus":null,"versions":[{"status":"affected","version":"Apache Struts before 2.3.34 and 2.5.x before 2.5.13"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-rest-plugin","purl":"pkg:maven/org.apache.struts/struts2-rest-plugin","ranges":[">=2.1.1 <2.3.34",">=2.5.0 <2.5.13"],"fixed":["2.3.34","2.5.13"],"advisory":"GHSA-gg9m-fj3v-r58c"}],"cwes":["CWE-502"],"aliases":["GHSA-gg9m-fj3v-r58c"],"references":[{"url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://struts.apache.org/docs/s2-052.html","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"http://www.securitytracker.com/id/1039263","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.securityfocus.com/bid/100609","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2","tags":["vendor-advisory","x_refsource_CISCO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1488482","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","report","web"]},{"url":"https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/42627/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://lgtm.com/blog/apache_struts_CVE-2017-9805","tags":["x_refsource_MISC","x_transferred","Broken Link","article","web"]},{"url":"https://cwiki.apache.org/confluence/display/WW/S2-052","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20170907-0001/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.kb.cert.org/vuls/id/112992","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Third Party Advisory","US Government Resource","advisory","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9805","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/19494718865f2fb7da5ea363de3822f87fbda26","tags":["web"]},{"url":"https://github.com/apache/struts/commit/6dd6e5cfb7b5e020abffe7e8091bd63fe97c10a","tags":["web"]},{"url":"https://github.com/apache/struts","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20170907-0001","tags":["web"]},{"url":"https://web.archive.org/web/20170909031344/http://www.securityfocus.com/bid/100609","tags":["web"]},{"url":"https://web.archive.org/web/20170922053119/http://www.securitytracker.com/id/1039263","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/42627","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2021-11-03","kevDue":"2022-05-03","kevEntry":{"cveID":"CVE-2017-9805","vendorProject":"Apache","product":"Struts","vulnerabilityName":"Apache Struts Deserialization of Untrusted Data Vulnerability","dateAdded":"2021-11-03","shortDescription":"Apache Struts REST Plugin 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.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2017-9805","cwes":["CWE-502"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.99396,"epssPercentile":0.99941,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-9805","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9805","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-9805","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gg9m-fj3v-r58c","ok":true,"note":"GHSA-gg9m-fj3v-r58c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2021-11-03"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-9805","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["struts"],"critical":["Exploited in the wild (CISA KEV)","EPSS 99% with CVSS 8.1"],"attention":null}