CVE-2017-7672: org.apache.struts:struts2-core - URLValidator Server Process Overload
Summary
CVE-2017-7672: Apache Struts Improper Input Validation vulnerability. Affects org.apache.struts:struts2-core versions >= 2.5.0, < 2.5.12. Fixed in 2.5.12. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The org.apache.struts:struts2-core package is a widely used open-source framework for developing Java web applications. It provides a set of tools and libraries to simplify the development process and enhance the functionality of web applications. However, this package is vulnerable to a moderate severity vulnerability that allows an attacker to overload the server process by exploiting the built-in URLValidator. This vulnerability affects versions 2.5.0 to 2.5.11 of the Apache Struts framework.
Vulnerability Detail
The vulnerability arises when an application allows users to enter URLs in a form field and utilizes the URLValidator provided by the struts2-core package. An attacker can craft a special URL that triggers a server process overload during the validation process. This can lead to denial of service (DoS) attacks and impact the availability of the application. The vulnerability has a CVSS score of 5.9, indicating a moderate severity level.
How To Fix
Latest published version: 7.4.0 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.5.12
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, developers can implement input validation and sanitization techniques to mitigate the risk of server process overload. It is important to validate and sanitize user input before using it in URL validation processes.
Conclusion
The org.apache.struts:struts2-core package is vulnerable to a moderate severity vulnerability that allows an attacker to overload the server process during URL validation. To mitigate this risk, it is crucial to upgrade to Apache Struts version 2.5.12 or later. Developers should also implement input validation and sanitization techniques to enhance the security of their applications. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.struts:struts2-core →
FAQ
The vulnerability allows an attacker to overload the server process, leading to denial of service (DoS) attacks and potentially impacting the availability of the application.
Versions 2.5.0 to 2.5.11 of the Apache Struts framework are affected by this vulnerability.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the pom.xml file.
Yes, the CVSS score for this vulnerability is 5.9, indicating a moderate severity level.
There are no known exploits for this vulnerability at the moment. However, it is important to apply the recommended fix to prevent potential attacks.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.struts:struts2-core.