VDB
Sign up
HIGH7.5

GHSA-729q-fcgp-r5xh

Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability

Quick fix

GHSA-729q-fcgp-r5xh — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

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

Details

When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fix this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 6.2.0Fixed in: 6.3.0.1
Fix# pom.xml: bump <version>6.3.0.1</version> for org.apache.struts:struts2-core
Maven/org.apache.struts:struts2-core
Introduced in: 6.0.0Fixed in: 6.1.2.2
Fix# pom.xml: bump <version>6.1.2.2</version> for org.apache.struts:struts2-core
Maven/org.apache.struts:struts2-core
Introduced in: 0Fixed in: 2.5.32
Fix# pom.xml: bump <version>2.5.32</version> for org.apache.struts:struts2-core

References