7.5high
Rexml: rexml: denial of service via inefficient regex parsing
- Severity
- 7.5high CVSS:3.1 by redhat
- Exploit likelihood
- 0.56% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-2rxp-v6pw-ch6m
Description
A flaw was found in REXML. A remote attacker could exploit inefficient regular expression (regex) parsing when processing hex numeric character references (&#x...;) in XML documents. This could lead to a Regular Expression Denial of Service (ReDoS), impacting the availability of the affected component. This issue is the result of an incomplete fix for CVE-2024-49761.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Red Hat Satellite | Not specified Not affected: 6.17.5, 6.16.5.4 | CVE List |
| puppet-agent | Not specified Not affected: from 0:8.8.1-3.el8sat before *, from 0:8.8.1-3.el9sat before *, from 0:7.34.0-4.el8sat before *, from 0:7.34.0-4.el9sat before * | CVE List |
| rexml (RubyGems) | before 3.3.9 | GitHub Advisory Database |
All scores
| redhat | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
A flaw was found in REXML. A remote attacker could exploit inefficient regular expression (regex) parsing when processing hex numeric character references (&#x...;) in XML documents. This could lead to a Regular Expression Denial of Service (ReDoS), impacting the availability of the affected component. This issue is the result of an incomplete fix for CVE-2024-49761.
GitHub Advisory Database
Impact
The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;).
This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03.
Patches
The REXML gem 3.3.9 or later include the patch to fix the vulnerability.
Workarounds
Use Ruby 3.2 or later instead of Ruby 3.1.
References
NVD (es)
Se encontró una vulnerabilidad en REXML. Un atacante remoto podría explotar el análisis ineficiente de expresiones regulares (regex) al procesar referencias de caracteres numéricos hexadecimales (&#x...;) en documentos XML. Esto podría conducir a una Denegación de Servicio por Expresiones Regulares (ReDoS), impactando la disponibilidad del componente afectado. Este problema es el resultado de una corrección incompleta para CVE-2024-49761.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-10990 changed 2026-06-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2rxp-v6pw-ch6m changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-10990 changed 2026-06-26 | Public domain |