Live threats

All CVEs / Apache

CVE-2017-9804Apache Struts

High 7.5 No auth needed

Priority
61
CVSS 3.0
7.5
EPSS
8.4%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Sep 20, 2017
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts:struts2-core ≥ 2.3.7 < 2.3.34 2.3.34 —
Maven org.apache.struts:struts2-core ≥ 2.5.0 < 2.5.13 2.5.13 —

Per OSV / GitHub Advisories (GHSA-x5x7-3v85-wpc4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts2.3.7
apachestruts2.3.8
apachestruts2.3.9
apachestruts2.3.10
apachestruts2.3.11
apachestruts2.3.12
apachestruts2.3.13
apachestruts2.3.14
apachestruts2.3.14.1
apachestruts2.3.14.2
apachestruts2.3.14.3
apachestruts2.3.15
apachestruts2.3.15.1
apachestruts2.3.15.2
apachestruts2.3.15.3
apachestruts2.3.16
apachestruts2.3.16.1
apachestruts2.3.16.2
apachestruts2.3.16.3
apachestruts2.3.17
apachestruts2.3.19
apachestruts2.3.20
apachestruts2.3.20.1
apachestruts2.3.20.2
apachestruts2.3.21
apachestruts2.3.22
apachestruts2.3.23
apachestruts2.3.24.2
apachestruts2.3.24.3
apachestruts2.3.25
apachestruts2.3.26
apachestruts2.3.27
apachestruts2.3.28
apachestruts2.3.28.1
apachestruts2.3.29
apachestruts2.3.30
apachestruts2.3.31
apachestruts2.3.32
apachestruts2.3.33
apachestruts2.5
apachestruts2.5
apachestruts2.5
apachestruts2.5
apachestruts2.5.1
apachestruts2.5.2
apachestruts2.5.3
apachestruts2.5.4
apachestruts2.5.5
apachestruts2.5.6
apachestruts2.5.7
apachestruts2.5.8
apachestruts2.5.9
apachestruts2.5.10
apachestruts2.5.10.1
apachestruts2.5.12

Official sources

References

Links published by the sources. Open them with care.