Advisory

UBUNTU-CVE-2024-43398

Also known as: CVE-2024-43398

Summary

The record has no summary.

Details

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.

Severity

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

Dates

Published
2024-08-22 15:15 UTC
Modified
2026-07-16 20:41 UTC

Affected packages and fixes

ruby2.7

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

2.7.0-5ubuntu1.16

Fix

  • Fixed version 2.7.0-5ubuntu1.16
    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.10 (ecosystem)

Fixed versions

3.0.2-7ubuntu2.10

Fix

  • Fixed version 3.0.2-7ubuntu2.10
    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.5 (ecosystem)

Fixed versions

3.2.3-1ubuntu0.24.04.5

Fix

  • Fixed version 3.2.3-1ubuntu0.24.04.5
    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