CVE-2024-41123Ruby-lang Rexml
High 7.5 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Rexml We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Aug 1, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, `>]` and `]>`. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.
What to do
- Apply the vendor's security update for Rexml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rexml |
< 3.3.3 |
3.3.3 |
gem "rexml", ">= 3.3.3" |
Per OSV / GitHub Advisories (GHSA-r55c-59qm-vjw6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | rexml | < 3.2.7 |
| ruby-lang | rexml | ≥ 3.2.8 < 3.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Not Applicable
- github.com Vendor Advisory
- github.com Not Applicable
- www.ruby-lang.org Vendor Advisory
- lists.debian.org
- security.netapp.com