CVE-2017-7672: org.apache.struts:struts2-core - URLValidator Server Process Overload

Summary

16/10/2018
Yes i
Moderate
5.9

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback