Skip to content

GHSA-hrgc-54mv-58gv CVE-2012-4387

Denial of service in Apache Struts

Medium Maven
Severity
Medium
The publisher's own rating, not a CVSS score
Exploit chance (EPSS)
8.14%
Chance of exploitation in the next 30 days. Higher than 94.85% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
—
Not classified
Fix
2.3.4.1
Upgrade org.apache.struts.xwork:xwork-core to this version or later

Description

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.

Affected versions

Maven

PackageVulnerableFixed in
org.apache.struts.xwork:xwork-core
>= 2.0.0, < 2.3.4.1
2.3.4.1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

org.apache.struts.xwork:xwork-core Maven → 2.3.4.1

maven
<dependency><groupId>org.apache.struts.xwork</groupId><artifactId>xwork-core</artifactId><version>2.3.4.1</version></dependency>
gradle
implementation("org.apache.struts.xwork:xwork-core:2.3.4.1")

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-4wrr-9h5r-m92w
Apache Struts Remote Java Code Execution
Critical Known exploited Also affects org.apache.struts.xwork:xwork-core
GHSA-qcfc-hmrc-59x7
Apache Struts 2 is Missing XML Validation
High Also affects org.apache.struts.xwork:xwork-core
GHSA-wm8w-qp2f-728q
Apache Struts Open Redirect
High Also affects org.apache.struts.xwork:xwork-core
GHSA-q2cg-xf9p-h457
Incomplete exclude pattern in Apache Struts
High Also affects org.apache.struts.xwork:xwork-core
GHSA-38qw-j787-v8c2
Apache Struts CSRF Vulnerability
High Also affects org.apache.struts.xwork:xwork-core
GHSA-9ccm-g362-2r35
XWork in Apache Struts Reveals Sensitive Information
Medium Also affects org.apache.struts.xwork:xwork-core
GHSA-gqqm-564f-vvxq
Arbitrary code execution in Apache Struts 2
High Also affects org.apache.struts.xwork:xwork-core
GHSA-pw8r-x2qm-3h5m
Arbitrary code execution in Apache Struts 2
High Also affects org.apache.struts.xwork:xwork-core
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor