cve.bz

CVE-2023-41835 apache struts: Incomplete Cleanup

7.5 highEPSS 7.2%Fix available

High (7.5) in apache struts. EPSS 7.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-core 2.5.32, 6.1.2.2, 6.3.0.1.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
7.2% (unchanged from 7.3% a week ago; 7.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-459 Incomplete Cleanup
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.apache.struts:struts2-core (Maven): fixed in 6.3.0.1, 6.1.2.2, 2.5.32

Ask an AI about this CVE

Show the promptExplain CVE-2023-41835 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-41835?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-41835?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-41835 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Strutsfrom 2.0.0 through 2.5.31
Apache Software Foundation Apache Strutsfrom 6.1.2.1 through 6.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-729q-fcgp-r5xhMavenorg.apache.struts:struts2-core>=6.2.0 <6.3.0.16.3.0.1
GHSA-729q-fcgp-r5xhMavenorg.apache.struts:struts2-core>=6.0.0 <6.1.2.26.1.2.2
GHSA-729q-fcgp-r5xhMavenorg.apache.struts:struts2-core<2.5.322.5.32

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue only affects Struts 2 and newer, which is not shipped in any Red Hat Products.

ProductPackageStateAdvisory
A-MQ Clients 2org.apache.struts-struts-coreNot affected
Migration Toolkit for Applications 6org.apache.struts-struts-coreNot affected
Migration Toolkit for Runtimesorg.apache.struts-struts-coreNot affected
OpenShift Serverlessorg.apache.struts-struts-coreNot affected
Red Hat AMQ Broker 7org.apache.struts-struts-coreNot affected
Red Hat build of Apache Camel for Spring Boot 3org.apache.struts-struts-coreNot affected
Red Hat build of Debezium 2org.apache.struts-struts-coreNot affected
Red Hat Build of Keycloakorg.apache.struts-struts-coreNot affected
Red Hat build of OptaPlanner 8org.apache.struts-struts-coreNot affected
Red Hat build of Quarkusstruts-coreNot affected
Red Hat Data Grid 8org.apache.struts-struts-coreNot affected
Red Hat Decision Manager 7org.apache.struts-struts-coreNot affected
Red Hat Fuse 7org.apache.struts-struts-coreNot affected
Red Hat Integration Camel K 1org.apache.struts-struts-coreNot affected
Red Hat Integration Camel Quarkus 2org.apache.struts-struts-coreNot affected
Red Hat JBoss Data Grid 7org.apache.struts-struts-coreNot affected
Red Hat JBoss Enterprise Application Platform 6org.apache.struts-struts-coreNot affected
Red Hat JBoss Enterprise Application Platform 6org.keycloak-keycloak-parentNot affected
Red Hat JBoss Enterprise Application Platform 7org.apache.struts-struts-coreNot affected
Red Hat JBoss Enterprise Application Platform 8org.apache.struts-struts-coreNot affected
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-41835.

References

Check your stackJSON