Live threats

All CVEs / Apache

CVE-2012-4387Apache Struts

Medium 5.0 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachestruts2.0.0
apachestruts2.0.1
apachestruts2.0.2
apachestruts2.0.3
apachestruts2.0.4
apachestruts2.0.5
apachestruts2.0.6
apachestruts2.0.7
apachestruts2.0.8
apachestruts2.0.9
apachestruts2.0.10
apachestruts2.0.11
apachestruts2.0.11.1
apachestruts2.0.11.2
apachestruts2.0.12
apachestruts2.0.13
apachestruts2.0.14
apachestruts2.1.0
apachestruts2.1.1
apachestruts2.1.2
apachestruts2.1.3
apachestruts2.1.4
apachestruts2.1.5
apachestruts2.1.6
apachestruts2.1.8
apachestruts2.1.8.1
apachestruts2.2.1
apachestruts2.2.1.1
apachestruts2.2.3
apachestruts2.2.3.1
apachestruts2.3.1
apachestruts2.3.1.1
apachestruts2.3.1.2
apachestruts2.3.3
apachestruts2.3.4

Official sources

References

Links published by the sources. Open them with care.