
CVE catalog
CVE-2024-41123
Ruby vulnerabilities
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.28% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby3.1 | bookworm | 3.1.2-7+deb12u1 | vulnerable |
| Debian | ruby3.1 | bookworm-security | 3.1.2-7+deb12u1 | vulnerable |
| Ubuntu | ruby3.1 | noble | Not reported | vulnerable |
| Ubuntu | ruby3.2 | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | libruby3.2 | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | ruby3.2-dev | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | ruby3.2-doc | noble | 3.2.3-1ubuntu0.24.04.5 | fixed |
| Ubuntu | ruby3.2 | noble | 3.2.3-1ubuntu0.24.04.3 | fixed |
| Ubuntu | libruby3.2 | noble | 3.2.3-1ubuntu0.24.04.3 | fixed |
| Ubuntu | ruby3.2-dev | noble | 3.2.3-1ubuntu0.24.04.3 | fixed |
| Ubuntu | ruby3.2-doc | noble | 3.2.3-1ubuntu0.24.04.3 | fixed |
| Alpine | ruby-rexml | 3.19 | 3.3.9-r0 | fixed |
| Alpine | ruby-rexml | 3.20 | 3.3.9-r0 | fixed |
| Alpine | ruby-rexml | 3.21 | 3.3.9-r0 | fixed |
| Alpine | ruby-rexml | 3.22 | 3.3.9-r0 | fixed |
| Alpine | ruby-rexml | 3.23 | 3.3.9-r0 | fixed |
| Alpine | ruby-rexml | 3.24 | 3.3.9-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby3.1 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1083190] |
| Ubuntu | ruby3.2 | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | libruby3.2 | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2-dev | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2-doc | deb | noble | 3.2.3-1ubuntu0.24.04.5 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2 | deb | noble | 3.2.3-1ubuntu0.24.04.3 | Not reported | Not reported | Not reported |
| Ubuntu | libruby3.2 | deb | noble | 3.2.3-1ubuntu0.24.04.3 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2-dev | deb | noble | 3.2.3-1ubuntu0.24.04.3 | Not reported | Not reported | Not reported |
| Ubuntu | ruby3.2-doc | deb | noble | 3.2.3-1ubuntu0.24.04.3 | Not reported | Not reported | Not reported |
| Alpine | ruby-rexml | apk | 3.19 | 3.3.9-r0 | Not reported | ALPINE-CVE-2024-41123 | Not reported |
| Alpine | ruby-rexml | apk | 3.20 | 3.3.9-r0 | Not reported | ALPINE-CVE-2024-41123 | Not reported |
| Alpine | ruby-rexml | apk | 3.21 | 3.3.9-r0 | Not reported | ALPINE-CVE-2024-41123 | Not reported |
| Alpine | ruby-rexml | apk | 3.22 | 3.3.9-r0 | Not reported | ALPINE-CVE-2024-41123 | Not reported |
| Alpine | ruby-rexml | apk | 3.23 | 3.3.9-r0 | Not reported | ALPINE-CVE-2024-41123 | Not reported |
| Alpine | ruby-rexml | apk | 3.24 | 3.3.9-r0 | Not reported | ALPINE-CVE-2024-41123 | Not reported |
Notes
[bookworm] ruby3.1: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libruby3.1]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
- [ruby3.1]Affected
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
- [ruby3.1-dev]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
- [ruby3.1-doc]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· all · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookwormAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12
[Debian 13 (Trixie)]
- [libruby3.3]Fixed
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
- [ruby3.3]Fixed
Details (2)
3.3.8-2· amd64 · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
- [ruby3.3-dev]Fixed
Source package: [ruby3.3]
Details (2)
3.3.8-2· amd64 · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
3.3.8-2· arm64 · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
- [ruby3.3-doc]Fixed
Source package: [ruby3.3]
Details (2)
3.3.8-2· all · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
3.3.8-2· all · trixieFixed · Fixed:
3.3.5-1usn · ruby3.3 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_6670.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-41123]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-41123]
- [https://security-tracker.debian.org/tracker/CVE-2024-41123]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-41123.json]
- [https://ubuntu.com/security/notices/USN-7091-1]
- [https://ubuntu.com/security/notices/USN-7418-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1744.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]