logo

CVE-2018-1327 org.apache.struts:struts2-rest-plugin

Package

Manager: maven
Name: org.apache.struts:struts2-rest-plugin
Vulnerable Version: >=2.1.1 <2.5.16

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.03356 pctl0.86853

Details

Apache Struts REST Plugin can potentially allow a DoS attack 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.

Metadata

Created: 2018-10-16T19:35:26Z
Modified: 2024-01-05T16:06:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-38cr-2ph5-frr9/GHSA-38cr-2ph5-frr9.json
CWE IDs: ["CWE-91"]
Alternative ID: GHSA-38cr-2ph5-frr9
Finding: F021
Auto approve: 1