CVE Vulnerabilities

CVE-2023-41835

Incomplete Cleanup

Published: Dec 05, 2023 | Modified: Nov 21, 2024
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

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

Name Vendor Start Version End Version
Struts Apache 2.0.0 (including) 2.5.32 (excluding)
Struts Apache 6.1.2.1 (including) 6.3.0.1 (excluding)
Libstruts1.2-java Ubuntu bionic *
Libstruts1.2-java Ubuntu trusty *
Libstruts1.2-java Ubuntu xenial *

Potential Mitigations

References