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.
CVE-2023-41835 - High Severity Vulnerability
Vulnerable Library - struts2-core-2.3.37.jar
Apache Struts 2
Path to dependency file: /pom.xml
Path to vulnerable library: /canner/.m2/repository/org/apache/struts/struts2-core/2.3.37/struts2-core-2.3.37.jar
Dependency Hierarchy: - :x: **struts2-core-2.3.37.jar** (Vulnerable Library)
Found in HEAD commit: 34ce0f6524391068ef5b880f65575eb3eb499124
Found in base branch: master
Vulnerability 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 fixe this issue.
Publish Date: 2023-12-05
URL: CVE-2023-41835
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-41835
Release Date: 2023-12-05
Fix Resolution: 2.5.32
Step up your Open Source Security Game with Mend here