GHSA-38cr-2ph5-frr9

Suggest an improvement
Source
https://github.com/advisories/GHSA-38cr-2ph5-frr9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-38cr-2ph5-frr9/GHSA-38cr-2ph5-frr9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-38cr-2ph5-frr9
Aliases
Published
2018-10-16T19:35:26Z
Modified
2024-02-20T05:31:07.975982Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Apache Struts REST Plugin can potentially allow a DoS attack
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-91"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T20:54:29Z"
}
References

Affected packages

Maven / org.apache.struts:struts2-rest-plugin

Package

Name
org.apache.struts:struts2-rest-plugin
View open source insights on deps.dev
Purl
pkg:maven/org.apache.struts/struts2-rest-plugin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.1
Fixed
2.5.16

Affected versions

2.*

2.1.2
2.1.6
2.1.8
2.1.8.1
2.2.1
2.2.1.1
2.2.3
2.2.3.1
2.3.1
2.3.1.1
2.3.1.2
2.3.3
2.3.4
2.3.4.1
2.3.7
2.3.8
2.3.12
2.3.14
2.3.14.1
2.3.14.2
2.3.14.3
2.3.15
2.3.15.1
2.3.15.2
2.3.15.3
2.3.16
2.3.16.1
2.3.16.2
2.3.16.3
2.3.20
2.3.20.1
2.3.20.3
2.3.24
2.3.24.1
2.3.24.3
2.3.28
2.3.28.1
2.3.29
2.3.30
2.3.31
2.3.32
2.3.33
2.3.34
2.3.35
2.3.36
2.3.37
2.5-BETA1
2.5-BETA2
2.5-BETA3
2.5
2.5.1
2.5.2
2.5.5
2.5.8
2.5.10
2.5.10.1
2.5.12
2.5.13
2.5.14
2.5.14.1