Red Hat VEX
RHVEX-CVE-2024-49761
rexml: REXML ReDoS vulnerability
Details
A flaw was found in the ReXML XML toolkit for Ruby. Parsing XML data containing a large number of digits between &# and x...; in a hex numeric character reference (&#x...;) can trigger a regular expression denial of service (ReDoS) condition, leading to a denial of service.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | ruby | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-irb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-rdoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-ri | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-tcltk | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-irb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-tcltk | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-bigdecimal | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-io-console | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-json | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-minitest | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-psych | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-rake | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-rdoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygems | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygems-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | pcs | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | pcs-snmp | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2024-49761
- https://bugzilla.redhat.com/show_bug.cgi?id=2322153
- https://www.cve.org/CVERecord?id=CVE-2024-49761
- https://nvd.nist.gov/vuln/detail/CVE-2024-49761
- https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f
- https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m
- https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761