Loading...
Skip to main content

CVE-2024-53677 — Vulnerability in org.apache.struts:struts2-core —...

CRITICAL

Apache Struts file upload logic is flawed

Published December 11, 2024Updated July 15, 2025Source: osv

Summary

File upload logic is flawed vulnerability in Apache Struts. 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. This issue affects Apache Struts: from 2.0.0 before 6.4.0. Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload. If you are not using an old file upload logic based on FileuploadInterceptor your application is safe. You can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067 .

Advisory Timeline

  • First published December 11, 2024 (670 days ago).
  • Last revised July 15, 2025 — 216 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.struts:struts2-core to 6.4.0 or later
<!-- Update pom.xml dependency version to 6.4.0 for org.apache.struts:struts2-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.struts:struts2-core
maven
2.0.11, 2.0.11.1, 2.0.11.2, 2.0.12 (+92 more)6.4.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-53677?
Apache Struts file upload logic is flawed This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2024-53677?
CVE-2024-53677 affects org.apache.struts:struts2-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-53677 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-43mq-6xmg-29vm

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies