CVE Vulnerabilities

CVE-2023-41835

Incomplete Cleanup

Published: Dec 05, 2023 | Modified: Nov 04, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly “clean up” and remove temporary or supporting resources after they have been used.

Affected Software

NameVendorStart VersionEnd Version
StrutsApache2.0.0 (including)2.5.32 (excluding)
StrutsApache6.1.2.1 (including)6.3.0.1 (excluding)
Libstruts1.2-javaUbuntubionic*
Libstruts1.2-javaUbuntutrusty*
Libstruts1.2-javaUbuntuxenial*

Potential Mitigations

References