struts: A regular expression Denial of Service when using URLValidator
Published Sep 20, 2017
7.5
HIGHCVSS 3.0
EPSS 8.24%
Description
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.
Affected products
-
- Version 2.3.7 - 2.3.33StatusaffectedConstraints-
- Version 2.5 - 2.5.12StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Struts | n/a |
|
- 2.3.7
- 2.3.8
- 2.3.9
- 2.3.10
- 2.3.11
- 2.3.12
- 2.3.13
- 2.3.14
- 2.3.14.1
- 2.3.14.2
- 2.3.14.3
- 2.3.15
- 2.3.15.1
- 2.3.15.2
- 2.3.15.3
- 2.3.16
- 2.3.16.1
- 2.3.16.2
- 2.3.16.3
- 2.3.17
- 2.3.19
- 2.3.20
- 2.3.20.1
- 2.3.20.2
- 2.3.21
- 2.3.22
- 2.3.23
- 2.3.24.2
- 2.3.24.3
- 2.3.25
- 2.3.26
- 2.3.27
- 2.3.28
- 2.3.28.1
- 2.3.29
- 2.3.30
- 2.3.31
- 2.3.32
- 2.3.33
- 2.5
- 2.5
- 2.5
- 2.5
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.5.6
- 2.5.7
- 2.5.8
- 2.5.9
- 2.5.10
- 2.5.10.1
- 2.5.12
No data.
Red Hat Enterprise Linux 5
struts
Not affected
Red Hat JBoss Data Virtualization 6
struts
Not affected
Red Hat JBoss Fuse Service Works 6
struts
Not affected
Red Hat JBoss Operations Network 3
struts
Not affected
Red Hat Satellite 5
struts
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | struts | Not affected | n/a |
| Red Hat JBoss Data Virtualization 6 | struts | Not affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | struts | Not affected | n/a |
| Red Hat JBoss Operations Network 3 | struts | Not affected | n/a |
| Red Hat Satellite 5 | struts | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not included in any Red Hat products. This earlier statement was incorrect. While Struts 2 is not actively compiled, shipped, used, or enabled in any Red Hat provided final products, and does not cause any vulnerability in the product, struts2-core jars have been included in some products' source code packages. The inclusion was part of an import of the Google Guice repository, which includes struts2-core. Customers that build artefacts from our source code could be at risk. Red Hat will remove these artefacts from source code in future releases. The products that included the Struts 2 artefacts in their source jars: Fuse Service Works 6.0.0 Single Sign On 7.3.0+ If you have used the source package from one of these products to build artefacts on your system, you should do the following to remove potentially affected jars: 1. Run 'find . -name struts2*.jar' under the source location 2. Remove any files found This will not affect the product, as the jar is included with the source of google-guice, but no functionality requiring struts2 is implemented.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.24% (0.08237) | 94.73th | v5 (v2026.06.15) |
| Jul 3, 2026 | 8.46% (0.08456) | 94.35th | v5 (v2026.06.15) |
| Jun 15, 2026 | 9.51% (0.09507) | 94.80th | v5 (v2026.06.15) |
| Mar 17, 2026 | 4.62% (0.04618) | 89.13th | v4 (v2025.03.14) |
| Mar 13, 2026 | 12.07% (0.12074) | 93.68th | v4 (v2025.03.14) |
| Mar 4, 2026 | 22.45% (0.22446) | 95.71th | v4 (v2025.03.14) |
| Mar 30, 2025 | 12.07% (0.12074) | 93.17th | v4 (v2025.03.14) |
| Mar 29, 2025 | 20.28% (0.20278) | 92.69th | v4 (v2025.03.14) |
| Mar 17, 2025 | 12.28% (0.12283) | 93.31th | v4 (v2025.03.14) |
| Dec 17, 2024 | 5.95% (0.05950) | 93.36th | v3 (v2023.03.01) |
| Mar 1, 2024 | 2.40% (0.02403) | 89.61th | v3 (v2023.03.01) |
| Dec 25, 2023 | 3.37% (0.03366) | 90.44th | v3 (v2023.03.01) |
| May 10, 2023 | 4.69% (0.04692) | 91.40th | v3 (v2023.03.01) |
| Mar 23, 2023 | 5.52% (0.05523) | 92.01th | v3 (v2023.03.01) |
| Mar 7, 2023 | 6.64% (0.06645) | 92.66th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.65% (0.02649) | 82.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.65% (0.02649) | 80.48th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.65% (0.02649) | 61.83th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.83% (0.04831) | 78.17th | v1 |
| Jan 6, 2022 | 4.83% (0.04831) | 77.96th | v1 |
| Sep 1, 2021 | 4.83% (0.04831) | 87.44th | v1 |
| Apr 14, 2021 | 4.83% (0.04831) | 0.00th | v1 |
References (15)
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.securityfocus.com/bid/100612 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039261 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-9804 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1488491 Issue Tracking
- https://github.com/advisories/GHSA-x5x7-3v85-wpc4 Advisory
- https://github.com/apache/struts/commit/418a20c0594f23764fe29ced400c1219239899a
- https://nvd.nist.gov/vuln/detail/CVE-2017-9804
- https://security.netapp.com/advisory/ntap-20180629-0001/ x_refsource_CONFIRM
- https://struts.apache.org/docs/s2-050.html x_refsource_CONFIRMPatchVendor Advisory
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 vendor-advisoryx_refsource_CISCOThird Party Advisory
- https://web.archive.org/web/20171113165852/http://www.securityfocus.com/bid/100612
- https://web.archive.org/web/20201021075553/http://www.securitytracker.com/id/1039261
- https://www.cve.org/CVERecord?id=CVE-2017-9804
Change history (0)
No recorded changes yet.