CVE-2012-4387Apache Struts
Medium 5.0 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 8.3% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Sep 5, 2012
- Updated
- Jun 16, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
Apache Struts 2.0.0 through 2.3.4 allows remote attackers to cause a denial of service (CPU consumption) via a long parameter name, which is processed as an OGNL expression.
What to do
- Apply the vendor's security update for Struts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.struts.xwork:xwork-core |
≥ 2.0.0 < 2.3.4.1 |
2.3.4.1 |
— |
Per OSV / GitHub Advisories (GHSA-hrgc-54mv-58gv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | 2.0.0 |
| apache | struts | 2.0.1 |
| apache | struts | 2.0.2 |
| apache | struts | 2.0.3 |
| apache | struts | 2.0.4 |
| apache | struts | 2.0.5 |
| apache | struts | 2.0.6 |
| apache | struts | 2.0.7 |
| apache | struts | 2.0.8 |
| apache | struts | 2.0.9 |
| apache | struts | 2.0.10 |
| apache | struts | 2.0.11 |
| apache | struts | 2.0.11.1 |
| apache | struts | 2.0.11.2 |
| apache | struts | 2.0.12 |
| apache | struts | 2.0.13 |
| apache | struts | 2.0.14 |
| apache | struts | 2.1.0 |
| apache | struts | 2.1.1 |
| apache | struts | 2.1.2 |
| apache | struts | 2.1.3 |
| apache | struts | 2.1.4 |
| apache | struts | 2.1.5 |
| apache | struts | 2.1.6 |
| apache | struts | 2.1.8 |
| apache | struts | 2.1.8.1 |
| apache | struts | 2.2.1 |
| apache | struts | 2.2.1.1 |
| apache | struts | 2.2.3 |
| apache | struts | 2.2.3.1 |
| apache | struts | 2.3.1 |
| apache | struts | 2.3.1.1 |
| apache | struts | 2.3.1.2 |
| apache | struts | 2.3.3 |
| apache | struts | 2.3.4 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com Vendor Advisory
- struts.apache.org Patch Vendor Advisory
- www.openwall.com
- www.openwall.com
- www.securityfocus.com
- exchange.xforce.ibmcloud.com
- issues.apache.org