MediumGHSA-xg75-68x3-7p3qCVE-2016-4465
Apache Struts vulnerable to possible DoS attack when using URLValidator
Published 17 May 2022 · Updated 16 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 packages
- Affected
- >=2.3.20 <2.3.29
- Fixed in
- 2.3.29
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.3.29 -DforceVersion=true- Affected
- >=2.5.0 <2.5.13
- Fixed in
- 2.5.13
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.13 -DforceVersion=trueDetails
The URLValidator class in Apache Struts 2 2.3.20 through 2.3.28.1 and 2.5.x before 2.5.13 allows remote attackers to cause a denial of service via a null value for a URL field.
Is GHSA-xg75-68x3-7p3q 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-2016-4465
- Linkgithub.com/apache/struts/commit/a0fdca138feec2c2e94eb75ca1f8b76678b4d152
- Linkgithub.com/apache/struts/commit/eccc31ebce5430f9e91b9684c63eaaf885e603f9
- Linkbugzilla.redhat.com/show_bug.cgi?id=1348253
- Packagegithub.com/apache/struts
- Linkstruts.apache.org/docs/s2-041.html
- Linkjvn.jp/en/jp/JVN12352818/index.html
- Linkjvndb.jvn.jp/jvndb/JVNDB-2016-000114
- Linkwww-01.ibm.com/support/docview.wss?uid=swg21987854
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.