CVE-2017-9805
HIGH 8.1CVSS 3.1known exploitedREST Plugin in Apache Struts uses an XStreamHandler with an instance of XStream for deserialization without any type filtering
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
- 15 Sep 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-gg9m-fj3v-r58c
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-gg9m-fj3v-r58cJSON
In CISA's Known Exploited Vulnerabilities catalog since 3 Nov 2021; US federal agencies must fix it by 3 May 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* |
>= 2.1.2, < 2.3.34 | 2.3.34 |
| NVD | apache | strutscpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* |
>= 2.5.0, < 2.5.13 | 2.5.13 |
| NVD | cisco | digital_media_managercpe:2.3:a:cisco:digital_media_manager:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | cisco | hosted_collaboration_solutioncpe:2.3:a:cisco:hosted_collaboration_solution:10.5\(1\):*:*:*:*:*:*:* |
= 10.5(1) | |
| NVD | cisco | hosted_collaboration_solutioncpe:2.3:a:cisco:hosted_collaboration_solution:11.0\(1\):*:*:*:*:*:*:* |
= 11.0(1) | |
| NVD | cisco | hosted_collaboration_solutioncpe:2.3:a:cisco:hosted_collaboration_solution:11.5\(1\):*:*:*:*:*:*:* |
= 11.5(1) | |
| NVD | cisco | hosted_collaboration_solutioncpe:2.3:a:cisco:hosted_collaboration_solution:11.6\(1\):*:*:*:*:*:*:* |
= 11.6(1) | |
| NVD | cisco | media_experience_enginecpe:2.3:a:cisco:media_experience_engine:3.5:*:*:*:*:*:*:* |
= 3.5 | |
| NVD | cisco | media_experience_enginecpe:2.3:a:cisco:media_experience_engine:3.5.2:*:*:*:*:*:*:* |
= 3.5.2 | |
| NVD | cisco | network_performance_analysiscpe:2.3:a:cisco:network_performance_analysis:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | cisco | video_distribution_suite_for_internet_streamingcpe:2.3:a:cisco:video_distribution_suite_for_internet_streaming:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | oncommand_balancecpe:2.3:a:netapp:oncommand_balance:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.apache.struts:struts2-rest-plugin | >= 2.1.1, < 2.3.34 | 2.3.34 |
| OSV | Maven | org.apache.struts:struts2-rest-plugin | >= 2.5.0, < 2.5.13 | 2.5.13 |
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html · Patch, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/100609 · Broken Link, Third Party Advisory, VDB Entry, WEB
- http://www.securitytracker.com/id/1039263 · Broken Link, Third Party Advisory, VDB Entry, WEB
- https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1488482 · Issue Tracking, Third Party Advisory, VDB Entry, WEB
- https://cwiki.apache.org/confluence/display/WW/S2-052 · Mitigation, Vendor Advisory, WEB
- https://lgtm.com/blog/apache_struts_CVE-2017-9805 · Broken Link, WEB
- https://security.netapp.com/advisory/ntap-20170907-0001/ · Third Party Advisory, WEB
- https://struts.apache.org/docs/s2-052.html · Mitigation, Vendor Advisory, WEB
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 · Third Party Advisory, WEB
- https://www.exploit-db.com/exploits/42627/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.kb.cert.org/vuls/id/112992 · Third Party Advisory, US Government Resource, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-9805 · ADVISORY
- https://github.com/apache/struts/commit/19494718865f2fb7da5ea363de3822f87fbda26 · WEB
- https://github.com/apache/struts/commit/6dd6e5cfb7b5e020abffe7e8091bd63fe97c10a · WEB
- https://github.com/apache/struts · PACKAGE
- https://web.archive.org/web/20170909031344/http://www.securityfocus.com/bid/100609 · WEB
- https://web.archive.org/web/20170922053119/http://www.securitytracker.com/id/1039263 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 15 Sep 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Oct 2018)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 3 Nov 2021)
- 3 Nov 2021 00:00 UTC · Listed as known exploited