Apache Struts: File upload component had a directory traversal vulnerability
Published Dec 7, 2023
9.8
CRITICALCVSS 3.1
EPSS 80.82%
Description
An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.
Affected products
-
- Version 2.0.0StatusaffectedConstraints<=2.5.32
- Version 6.0.0StatusaffectedConstraints<=6.3.0.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Struts | unaffected |
|
No data.
A-MQ Clients 2
org.apache.struts-struts-core
Not affected
Migration Toolkit for Applications 6
org.apache.struts-struts-core
Not affected
Migration Toolkit for Runtimes
org.apache.struts-struts-core
Not affected
OpenShift Serverless
org.apache.struts-struts-core
Not affected
Red Hat AMQ Broker 7
org.apache.struts-struts-core
Not affected
Red Hat Build of Keycloak
org.apache.struts-struts-core
Not affected
Red Hat Data Grid 8
org.apache.struts-struts-core
Not affected
Red Hat Decision Manager 7
org.apache.struts-struts-core
Not affected
Red Hat Fuse 7
org.apache.struts-struts-core
Not affected
Red Hat Integration Camel K 1
org.apache.struts-struts-core
Not affected
Red Hat Integration Camel Quarkus 2
org.apache.struts-struts-core
Not affected
Red Hat JBoss Data Grid 7
org.apache.struts-struts-core
Not affected
Red Hat JBoss Enterprise Application Platform 6
org.apache.struts-struts-core
Not affected
Red Hat JBoss Enterprise Application Platform 6
org.keycloak-keycloak-parent
Not affected
Red Hat JBoss Enterprise Application Platform 7
struts-core
Not affected
Red Hat JBoss Enterprise Application Platform 8
struts-core
Not affected
Red Hat JBoss Enterprise Application Platform Expansion Pack
org.apache.struts-struts-core
Not affected
Red Hat JBoss Fuse 6
org.apache.struts-struts-core
Not affected
Red Hat JBoss Fuse 6
struts-core
Not affected
Red Hat JBoss Fuse Service Works 6
org.apache.struts-struts-core
Not affected
Red Hat JBoss Web Server 5
org.apache.struts-struts-core
Not affected
Red Hat Process Automation 7
org.apache.struts-struts-core
Not affected
Red Hat Single Sign-On 7
org.apache.struts-struts-core
Not affected
Red Hat build of Apache Camel for Spring Boot 3
org.apache.struts-struts-core
Not affected
Red Hat build of Debezium 2
org.apache.struts-struts-core
Not affected
Red Hat build of OptaPlanner 8
org.apache.struts-struts-core
Not affected
Red Hat build of Quarkus
struts-core
Not affected
Red Hat build of Quarkus
struts-core
Not affected
Red Hat support for Spring Boot
org.apache.struts-struts-core
Not affected
streams for Apache Kafka
org.apache.struts-struts-core
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| A-MQ Clients 2 | org.apache.struts-struts-core | Not affected | n/a |
| Migration Toolkit for Applications 6 | org.apache.struts-struts-core | Not affected | n/a |
| Migration Toolkit for Runtimes | org.apache.struts-struts-core | Not affected | n/a |
| OpenShift Serverless | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat AMQ Broker 7 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Build of Keycloak | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Data Grid 8 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Decision Manager 7 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Fuse 7 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Integration Camel K 1 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Integration Camel Quarkus 2 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat JBoss Data Grid 7 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | org.keycloak-keycloak-parent | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 7 | struts-core | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 8 | struts-core | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat JBoss Fuse 6 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat JBoss Fuse 6 | struts-core | Not affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat JBoss Web Server 5 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Process Automation 7 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat Single Sign-On 7 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat build of Apache Camel for Spring Boot 3 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat build of Debezium 2 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat build of OptaPlanner 8 | org.apache.struts-struts-core | Not affected | n/a |
| Red Hat build of Quarkus | struts-core | Not affected | n/a |
| Red Hat build of Quarkus | struts-core | Not affected | n/a |
| Red Hat support for Spring Boot | org.apache.struts-struts-core | Not affected | n/a |
| streams for Apache Kafka | org.apache.struts-struts-core | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Dec 16, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 80.82% (0.80819) | 99.62th | v5 (v2026.06.15) |
| Jun 15, 2026 | 80.82% (0.80819) | 99.58th | v5 (v2026.06.15) |
| May 10, 2025 | 92.68% (0.92677) | 99.73th | v4 (v2025.03.14) |
| Apr 15, 2025 | 93.74% (0.93736) | 99.84th | v4 (v2025.03.14) |
| Mar 17, 2025 | 92.34% (0.92338) | 99.72th | v4 (v2025.03.14) |
| Feb 28, 2025 | 53.97% (0.53972) | 97.82th | v3 (v2023.03.01) |
| Jan 8, 2025 | 51.45% (0.51452) | 97.68th | v3 (v2023.03.01) |
| Dec 17, 2024 | 53.31% (0.53311) | 97.72th | v3 (v2023.03.01) |
| Dec 13, 2024 | 22.56% (0.22558) | 96.70th | v3 (v2023.03.01) |
| Dec 12, 2024 | 15.66% (0.15660) | 96.12th | v3 (v2023.03.01) |
| Nov 18, 2024 | 16.43% (0.16430) | 96.15th | v3 (v2023.03.01) |
| Nov 6, 2024 | 14.70% (0.14705) | 95.91th | v3 (v2023.03.01) |
| Oct 2, 2024 | 12.93% (0.12934) | 95.60th | v3 (v2023.03.01) |
| Jun 13, 2024 | 9.04% (0.09044) | 94.64th | v3 (v2023.03.01) |
| May 19, 2024 | 8.59% (0.08593) | 94.47th | v3 (v2023.03.01) |
| Apr 10, 2024 | 9.30% (0.09303) | 94.60th | v3 (v2023.03.01) |
| Dec 21, 2023 | 9.72% (0.09719) | 94.23th | v3 (v2023.03.01) |
| Dec 14, 2023 | 9.80% (0.09799) | 94.23th | v3 (v2023.03.01) |
| Dec 13, 2023 | 1.93% (0.01933) | 87.32th | v3 (v2023.03.01) |
| Dec 8, 2023 | 0.14% (0.00142) | 49.68th | v3 (v2023.03.01) |
References (13)
- http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2023/12/07/1
- https://access.redhat.com/security/cve/CVE-2023-50164 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2253938 Issue Tracking
- https://cwiki.apache.org/confluence/display/WW/S2-066
- https://github.com/advisories/GHSA-2j39-qcjm-428w Advisory
- https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163
- https://github.com/apache/struts/commit/d8c69691ef1d15e76a5f4fcf33039316da2340b6
- https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj vendor-advisorymailing-listMailing ListPatch
- https://nvd.nist.gov/vuln/detail/CVE-2023-50164
- https://security.netapp.com/advisory/ntap-20231214-0010 Third Party AdvisoryVDB Entry
- https://www.cve.org/CVERecord?id=CVE-2023-50164
- https://www.openwall.com/lists/oss-security/2023/12/07/1 Mailing List
Change history (0)
No recorded changes yet.