CVE catalog

CVE-2024-39908

Ruby vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS: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.49% · Oct 25, 2026

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as `<`, `0` and `%>`. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.

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
Ubunturuby3.2noble3.2.3-1ubuntu0.24.04.3fixed
Ubuntulibruby3.2noble3.2.3-1ubuntu0.24.04.3fixed
Ubunturuby3.2-devnoble3.2.3-1ubuntu0.24.04.3fixed
Ubunturuby3.2-docnoble3.2.3-1ubuntu0.24.04.3fixed
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.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

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm(unfixed)not yet assignedNot reported[1076768]
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
Ubunturuby3.2debnoble3.2.3-1ubuntu0.24.04.3Not reportedNot reportedNot reported
Ubuntulibruby3.2debnoble3.2.3-1ubuntu0.24.04.3Not reportedNot reportedNot reported
Ubunturuby3.2-devdebnoble3.2.3-1ubuntu0.24.04.3Not reportedNot reportedNot reported
Ubunturuby3.2-docdebnoble3.2.3-1ubuntu0.24.04.3Not reportedNot reportedNot reported
Alpineruby-rexmlapk3.193.3.9-r0Not reportedALPINE-CVE-2024-39908Not reported
Alpineruby-rexmlapk3.203.3.9-r0Not reportedALPINE-CVE-2024-39908Not reported
Alpineruby-rexmlapk3.213.3.9-r0Not reportedALPINE-CVE-2024-39908Not reported
Alpineruby-rexmlapk3.223.3.9-r0Not reportedALPINE-CVE-2024-39908Not reported
Alpineruby-rexmlapk3.233.3.9-r0Not reportedALPINE-CVE-2024-39908Not reported
Alpineruby-rexmlapk3.243.3.9-r0Not reportedALPINE-CVE-2024-39908Not reported
Ubunturuby2.7deb20.042.7.0-5ubuntu1.16Not reportedUSN-7256-1Not reported

[Debian bug #1076768]

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