VDB
Sign up
HIGH7.5

GHSA-x5x7-3v85-wpc4

Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used

Quick fix

GHSA-x5x7-3v85-wpc4 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.3.34</version> for org.apache.struts:struts2-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 2.3.7Fixed in: 2.3.34
Fix# pom.xml: bump <version>2.3.34</version> for org.apache.struts:struts2-core
Maven/org.apache.struts:struts2-core
Introduced in: 2.5.0Fixed in: 2.5.13
Fix# pom.xml: bump <version>2.5.13</version> for org.apache.struts:struts2-core

References