Advisory

UBUNTU-CVE-2024-49761

Also known as: CVE-2024-49761

Summary

The record has no summary.

Details

REXML is an XML toolkit for Ruby. 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. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2024-10-28 15:15 UTC
Modified
2026-04-22 15:12 UTC

Affected packages and fixes

ruby2.7

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.7.0-5ubuntu1.15 (ecosystem)

Fixed versions

2.7.0-5ubuntu1.15

Fix

  • Fixed version 2.7.0-5ubuntu1.15
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby3.0

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.0.2-7ubuntu2.8 (ecosystem)

Fixed versions

3.0.2-7ubuntu2.8

Fix

  • Fixed version 3.0.2-7ubuntu2.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby3.2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.2.3-1ubuntu0.24.04.3 (ecosystem)

Fixed versions

3.2.3-1ubuntu0.24.04.3

Fix

  • Fixed version 3.2.3-1ubuntu0.24.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences