The REXML parser in Ruby 1.9.x before 1.9.3-p550, 2.0.x before 2.0.0-p594, and 2.1.x before 2.1.4 allows remote attackers to cause a denial…
The REXML parser in Ruby 1.9.x before 1.9.3-p550, 2.0.x before 2.0.0-p594, and 2.1.x before 2.1.4 allows remote attackers to cause a denial of service (memory consumption) via a crafted XML document, aka an XML Entity Expansion (XEE) attack.
The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.
https://cwe.mitre.org/data/definitions/776.html →Open in CWE collection →An adversary submits data to a target application which contains nested exponential data expansion to produce excessively large output. Many data format languages allow the definition of macro-like structures that can be used to simplify the creation of complex structures. However, this capability can be abused to create excessive demands on a processor's CPU and memory. A small number of nested expansions can result in an exponential growth in demands on memory.
https://capec.mitre.org/data/definitions/197.html →Open in CAPEC collection →| Product | Vendor | Status |
|---|---|---|
| ruby | Tracked | |
| ruby | Tracked | |
| ruby1.8 | Tracked | |
| ruby1.9.1 | Tracked | |
| ruby1.9.1 | Tracked | |
| ruby1.9.1 | Tracked | |
| ruby1.9.1 | Tracked | |
| ruby193-ruby | Tracked | |
| ruby193-ruby | Tracked | |
| ruby193-ruby | Tracked | |
| ruby193-ruby | Tracked | |
| ruby193-ruby | Tracked | |
| ruby2.0 | Tracked | |
| ruby2.0 | Tracked | |
| ruby2.0 | Tracked | |
| ruby2.1 | Tracked | |
| ruby2.1 | Tracked | |
| ruby2.1 | Tracked | |
| ruby2.1 | Tracked | |
| ruby200-ruby | Tracked |