MediumGHSA-9gp7-jvm2-r4mxCVE-2017-7672
Apache Struts Improper Input Validation vulnerability
Published 16 Oct 2018 · Updated 19 Feb 2024
Is your project on an affected org.apache.struts:struts2-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=2.5.0 <2.5.12
- Fixed in
- 2.5.12
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.5.12 -DforceVersion=trueDetails
If an application allows enter an 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. Solution is to upgrade to Apache Struts version 2.5.12.
Is GHSA-9gp7-jvm2-r4mx in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.struts:struts2-core, and gives you the command that fixes it.
More advisories for org.apache.struts:struts2-core
- HighCVE-2025-68493Apache Struts 2 is Missing XML Validation · 11 Jan 2026
- HighCVE-2025-66675Apache Struts has a Denial of Service vulnerability · 10 Dec 2025
- HighCVE-2025-64775Apache Struts is Vulnerable to DoS via File Leak · 1 Dec 2025
- CriticalCVE-2024-53677Apache Struts file upload logic is flawed · 11 Dec 2024
- CriticalCVE-2023-50164Apache Struts vulnerable to path traversal · 7 Dec 2023
- HighCVE-2023-41835Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability · 5 Dec 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-7672
- Packagegithub.com/apache/struts
- Linklists.apache.org/thread.html/3795c4dd46d9ec75f4a6eb9eca11c11edd3e796c6c1fd7b17b5dc50d@%3Cannouncements.struts.apache.org%3E
- Linksecurity.netapp.com/advisory/ntap-20180706-0002
- Linkweb.archive.org/web/20170907215142/http://www.securitytracker.com/id/1039114
- Linkweb.archive.org/web/20200227144724/http://www.securityfocus.com/bid/99563
- Linkstruts.apache.org/docs/s2-047.html
- Linkwww.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.