Unrated
Apache Struts: File upload component had a directory traversal vulnerability
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-50164
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:07 UTC · Revision 1
Source evidence
Apache Struts: File upload component had a directory traversal vulnerability
core-osv · Original sourcePublished 7 Dec 2023, 08:49 UTC
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.
osv:CVE-2023-50164
Complete source record
{
"id": "f1c664ce7cd0e667405450de06ca497bd5f41a5587b8789781cc473ea572a242",
"url": "https://osv.dev/vulnerability/CVE-2023-50164",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Struts: File upload component had a directory traversal vulnerability",
"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.",
"evidence": "osv:CVE-2023-50164",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2023-50164",
"aliases": [
"CVE-2023-50164",
"GHSA-2j39-qcjm-428w"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/struts",
"type": "GIT",
"events": [
{
"introduced": "2c0a197cea8fdc7d8cda5eeaa15a1c76507ac0a5"
},
{
"fixed": "ca8d57c538136983a0180ac508ebcfabaf73f839"
},
{
"introduced": "68fb49c10e083dce829476778eec726fc90c8c38"
},
{
"fixed": "ad95ab30f284e919d6560cbc396926f43bf8d32b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.5.33"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.3.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"STRUTS_6_3_0_1",
"STRUTS_6_2_0",
"STRUTS_6_3_0",
"STRUTS_6_1_1",
"STRUTS_6_1_0",
"STRUTS_6_0_3",
"STRUTS_6_0_2",
"STRUTS_6_0_1",
"STRUTS_6_0_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50164.json"
}
}
],
"modified": "2026-10-28T02:30:36.648188752Z",
"provider": "osv",
"references": [
"https://repo.maven.apache.org/maven2",
"https://www.openwall.com/lists/oss-security/2023/12/07/1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50164.json",
"https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj",
"https://nvd.nist.gov/vuln/detail/CVE-2023-50164",
"https://security.netapp.com/advisory/ntap-20231214-0010/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-552"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.5.32"
},
{
"introduced": "6.0.0"
},
{
"last_affected": "6.3.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50164.json"
}
},
"related_cves": [
{
"value": "CVE-2023-50164",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 503985,
"published_at": "2023-12-07T08:49:19.853+00:00"
}