CVE-2018-1327Apache Struts
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 8.8% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Mar 27, 2018
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The Apache Struts REST Plugin is using XStream library which is vulnerable and allow perform a DoS attack when using a malicious request with specially crafted XML payload. Upgrade to the Apache Struts version 2.5.16 and switch to an optional Jackson XML handler as described here http://struts.apache.org/plugins/rest/#custom-contenttypehandlers. Another option is to implement a custom XML handler based on the Jackson XML handler from the Apache Struts 2.5.16.
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:struts2-rest-plugin |
≥ 2.1.1 < 2.5.16 |
2.5.16 |
— |
Per OSV / GitHub Advisories (GHSA-38cr-2ph5-frr9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.1.1 ≤ 2.5.14.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- cwiki.apache.org Issue Tracking Third Party Advisory
- lists.apache.org
- lists.apache.org
- security.netapp.com Third Party Advisory