CVE catalog

CVE-2024-43398

Ruby vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.21% · Oct 25, 2026

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1vulnerable
Debianruby3.1bookworm-security3.1.2-7+deb12u1vulnerable
Ubunturuby3.1nobleNot reportedvulnerable
Ubunturuby3.2noble3.2.3-1ubuntu0.24.04.5fixed
Ubuntulibruby3.2noble3.2.3-1ubuntu0.24.04.5fixed
Ubunturuby3.2-devnoble3.2.3-1ubuntu0.24.04.5fixed
Ubunturuby3.2-docnoble3.2.3-1ubuntu0.24.04.5fixed
Alpineruby-rexml3.193.3.9-r0fixed
Alpineruby-rexml3.203.3.9-r0fixed
Alpineruby-rexml3.213.3.9-r0fixed
Alpineruby-rexml3.223.3.9-r0fixed
Alpineruby-rexml3.233.3.9-r0fixed
Alpineruby-rexml3.243.3.9-r0fixed
Ubunturuby2.3pro2.3.0-1vulnerable
Ubunturuby2.3pro2.3.0-2vulnerable
Ubunturuby2.3pro2.3.0-4ubuntu2vulnerable
Ubunturuby2.3pro2.3.0-4ubuntu3vulnerable
Ubunturuby2.3pro2.3.0-5ubuntu1vulnerable
Ubunturuby2.3pro2.3.1-2~16.04vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.2vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.4vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.5vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.6vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.7vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.9vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.10vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.11vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.12vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.13vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.14vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.15vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm1vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm2vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm3vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm4vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm5vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm6vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm7vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm8vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm9vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm10vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm11vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm12vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm14vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm15vulnerable
Ubunturuby2.5pro2.5.0~preview1-1ubuntu2vulnerable
Ubunturuby2.5pro2.5.0-4ubuntu1vulnerable
Ubunturuby2.5pro2.5.0-4ubuntu4vulnerable
Ubunturuby2.5pro2.5.0-5ubuntu1vulnerable
Ubunturuby2.5pro2.5.0-6ubuntu1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.2vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.4vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.5vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.6vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.7vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.8vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.9vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.10vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.11vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.12vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.13vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.14vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.15vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm3vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm4vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm5vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm6vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm7vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm8vulnerable
Ubunturuby2.720.042.7.0-1vulnerable
Ubunturuby2.720.042.7.0-2vulnerable
Ubunturuby2.720.042.7.0-3vulnerable
Ubunturuby2.720.042.7.0-4vulnerable
Ubunturuby2.720.042.7.0-4ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.2vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.3vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.4vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.5vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.6vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.7vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.8vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.9vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.10vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.11vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.12vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.13vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.14vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.15vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.16fixed
Ubunturuby3.022.043.0.2-5ubuntu1vulnerable
Ubunturuby3.022.043.0.2-7vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.1vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.3vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.4vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.5vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.6vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.7vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.8vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.10fixed
Ubunturuby3.224.043.2.3-1vulnerable
Ubunturuby3.224.043.2.3-1build2vulnerable
Ubunturuby3.224.043.2.3-1build3vulnerable
Ubunturuby3.224.043.2.3-1ubuntu0.24.04.1vulnerable
Ubunturuby3.224.043.2.3-1ubuntu0.24.04.3vulnerable
Ubunturuby3.224.043.2.3-1ubuntu0.24.04.5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm(unfixed)not yet assignedNot reported[1083190]
Ubunturuby3.2debnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubuntulibruby3.2debnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubunturuby3.2-devdebnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Ubunturuby3.2-docdebnoble3.2.3-1ubuntu0.24.04.5Not reportedNot reportedNot reported
Alpineruby-rexmlapk3.193.3.9-r0Not reportedALPINE-CVE-2024-43398Not reported
Alpineruby-rexmlapk3.203.3.9-r0Not reportedALPINE-CVE-2024-43398Not reported
Alpineruby-rexmlapk3.213.3.9-r0Not reportedALPINE-CVE-2024-43398Not reported
Alpineruby-rexmlapk3.223.3.9-r0Not reportedALPINE-CVE-2024-43398Not reported
Alpineruby-rexmlapk3.233.3.9-r0Not reportedALPINE-CVE-2024-43398Not reported
Alpineruby-rexmlapk3.243.3.9-r0Not reportedALPINE-CVE-2024-43398Not reported
Ubunturuby2.7deb20.042.7.0-5ubuntu1.16Not reportedUBUNTU-CVE-2024-43398Not reported
Ubunturuby3.0deb22.043.0.2-7ubuntu2.10Not reportedUBUNTU-CVE-2024-43398Not reported
Ubunturuby3.2deb24.043.2.3-1ubuntu0.24.04.5Not reportedUBUNTU-CVE-2024-43398Not reported

[Debian bug #1083190]

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 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

  • [ruby3.1]Affected
    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      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 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      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 · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      usn · ruby3.1 · debian · bookworm; usn · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      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 · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

  • [ruby3.3]Fixed
    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

  • Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

  • Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · all · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

    • 3.3.8-2 · all · trixie

      Fixed · Fixed: 3.3.5-1

      usn · ruby3.3 · debian · 13

Observed:

References