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
| Package | Vulnerable | Fixed 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
Advisories
Packages
Other links
- github.com/apache/struts/commit/80e03182d66d9e6ab18f9a9a9b3c42725a1c89e9
- github.com/apache/struts/commit/87935af56a27235e9399308ee1fcfb74f8edcefa
- exchange.xforce.ibmcloud.com/vulnerabilities/78183
- issues.apache.org/jira/browse/WW-3860
- struts.apache.org/2.x/docs/s2-011.html
- openwall.com/lists/oss-security/2012/09/01/4
- openwall.com/lists/oss-security/2012/09/01/5
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why 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 |
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