CVE-2023-41835

High

Description

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 fixe this issue.

SeverityHigh
CVSS7.5
Exploit probability—
ProductApache Struts
PublishedDec 5, 2023
First seenDec 5, 2023
Weakness typeCWE-459CWE-459

How to fix

Update
  • apache struts2.5.32, 6.3.0.1 or later
  • org.apache.struts:struts2-core6.3.0.1, 6.1.2.2, 2.5.32 or later

Affected products

ProductAffected versionsFixed in
apache struts2.0.0 ≤ v < 2.5.32, 6.1.2.1 ≤ v < 6.3.0.12.5.32, 6.3.0.1
org.apache.struts:struts2-coreMaven6.2.0 ≤ v < 6.3.0.1, 6.0.0 ≤ v < 6.1.2.2, v < 2.5.326.3.0.1, 6.1.2.2, 2.5.32

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.