Skip to content
Fencer Vulns
critical 9.8

CVE-2023-50164 in the critical feed json

Apache Struts: File upload component had a directory traversal vulnerability

published 2023-12-07 2 y ago modified 2026-06-17 4 mo ago also GHSA-2j39-qcjm-428w , EUVD-2023-3074

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
80.8%
EPSS 80.8% chance of exploitation in 30 days, percentile 99.6%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.struts:struts2-core 2.5.33, 6.3.0.2
  • apache struts 2.5.33, 6.3.0.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-50164 updated cvss 9.8

Struts: File upload component had a directory traversal vulnerability

  • Red Hat A-MQ Clients 2 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Migration Toolkit for Applications 6 org.apache.struts-struts-core Red Hat Migration Toolkit for Runtimes org.apache.struts-struts-core Red Hat OpenShift Serverless org.apache.struts-struts-core org.apache.struts-struts-core Red Hat AMQ Broker 7 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat build of Apache Camel for Spring Boot 3 org.apache.struts-struts-core org.apache.struts-struts-core
    +21 more products
    Red Hat build of Debezium 2 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Build of Keycloak org.apache.struts-struts-core org.apache.struts-struts-core Red Hat build of OptaPlanner 8 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat build of Quarkus struts-core Red Hat Data Grid 8 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Decision Manager 7 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Fuse 7 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Integration Camel K 1 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Integration Camel Quarkus 2 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat JBoss Data Grid 7 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat JBoss Enterprise Application Platform 6 org.keycloak-keycloak-parent org.keycloak-keycloak-parent, org.apache.struts-struts-core org.apache.struts-struts-core Red Hat JBoss Enterprise Application Platform 7 struts-core Red Hat JBoss Enterprise Application Platform 8 struts-core Red Hat JBoss Enterprise Application Platform Expansion Pack org.apache.struts-struts-core org.apache.struts-struts-core Red Hat JBoss Fuse 6 struts-core, org.apache.struts-struts-core org.apache.struts-struts-core Red Hat JBoss Fuse Service Works 6 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat JBoss Web Server 5 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Process Automation 7 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat Single Sign-On 7 org.apache.struts-struts-core org.apache.struts-struts-core Red Hat support for Spring Boot org.apache.struts-struts-core org.apache.struts-struts-core Red Hat streams for Apache Kafka org.apache.struts-struts-core org.apache.struts-struts-core
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
22 mo ago

Exploit prediction

80.82% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.struts:struts2-core
>=2.0.0, <2.5.33
>=6.0.0, <6.3.0.2
2.5.33
6.3.0.2

Affected products

  • Apache Software Foundation Apache Struts

Classification

Weakness
  • CWE-552 Files or Directories Accessible to External Parties

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.