CVE-2017-9804
HIGH 7.5CVSS 3.0Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used
In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL. NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.
- Published
- 20 Sep 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-x5x7-3v85-wpc4
- Sources
- NVDJSONOSV GHSA-x5x7-3v85-wpc4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:* |
= 2.3.7 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:* |
= 2.3.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.9:*:*:*:*:*:*:* |
= 2.3.9 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.10:*:*:*:*:*:*:* |
= 2.3.10 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.11:*:*:*:*:*:*:* |
= 2.3.11 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:* |
= 2.3.12 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.13:*:*:*:*:*:*:* |
= 2.3.13 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:* |
= 2.3.14 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:* |
= 2.3.14.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:* |
= 2.3.14.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:* |
= 2.3.14.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:* |
= 2.3.15 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:* |
= 2.3.15.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:* |
= 2.3.15.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:* |
= 2.3.15.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:* |
= 2.3.16 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:* |
= 2.3.16.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:* |
= 2.3.16.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:* |
= 2.3.16.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.17:*:*:*:*:*:*:* |
= 2.3.17 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.19:*:*:*:*:*:*:* |
= 2.3.19 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:* |
= 2.3.20 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:* |
= 2.3.20.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:* |
= 2.3.20.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:* |
= 2.3.21 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:* |
= 2.3.22 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:* |
= 2.3.23 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:* |
= 2.3.24.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:* |
= 2.3.24.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:* |
= 2.3.25 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:* |
= 2.3.26 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:* |
= 2.3.27 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:* |
= 2.3.28 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:* |
= 2.3.28.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:* |
= 2.3.29 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:* |
= 2.3.30 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.31:*:*:*:*:*:*:* |
= 2.3.31 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.32:*:*:*:*:*:*:* |
= 2.3.32 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.33:*:*:*:*:*:*:* |
= 2.3.33 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5:*:*:*:*:*:*:* |
= 2.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5:beta1:*:*:*:*:*:* |
= 2.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5:beta2:*:*:*:*:*:* |
= 2.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5:beta3:*:*:*:*:*:* |
= 2.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.1:*:*:*:*:*:*:* |
= 2.5.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.2:*:*:*:*:*:*:* |
= 2.5.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.3:*:*:*:*:*:*:* |
= 2.5.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.4:*:*:*:*:*:*:* |
= 2.5.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.5:*:*:*:*:*:*:* |
= 2.5.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.6:*:*:*:*:*:*:* |
= 2.5.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.7:*:*:*:*:*:*:* |
= 2.5.7 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.8:*:*:*:*:*:*:* |
= 2.5.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.9:*:*:*:*:*:*:* |
= 2.5.9 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.10:*:*:*:*:*:*:* |
= 2.5.10 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.10.1:*:*:*:*:*:*:* |
= 2.5.10.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.5.12:*:*:*:*:*:*:* |
= 2.5.12 | |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.3.7, < 2.3.34 | 2.3.34 |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.5.0, < 2.5.13 | 2.5.13 |
References
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt · Third Party Advisory, WEB
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html · Patch, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/100612 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039261 · Third Party Advisory, VDB Entry
- https://security.netapp.com/advisory/ntap-20180629-0001/ · WEB
- https://struts.apache.org/docs/s2-050.html · Patch, Vendor Advisory, WEB
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-9804 · ADVISORY
- https://github.com/apache/struts/commit/418a20c0594f23764fe29ced400c1219239899a · WEB
- https://github.com/apache/struts · PACKAGE
- https://web.archive.org/web/20171113165852/http://www.securityfocus.com/bid/100612 · WEB
- https://web.archive.org/web/20201021075553/http://www.securitytracker.com/id/1039261 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 20 Sep 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Oct 2018)