Advisory

USN-7091-1

Also known as: CVE-2024-35176, CVE-2024-39908, CVE-2024-41123, CVE-2024-41946, CVE-2024-49761

Summary

ruby3.0, ruby3.2, ruby3.3 vulnerabilities

Details

It was discovered that Ruby incorrectly handled parsing of an XML document
that has specific XML characters in an attribute value using REXML gem. An
attacker could use this issue to cause Ruby to crash, resulting in a denial
of service. This issue only affected in Ubuntu 22.04 LTS and Ubuntu 24.04
LTS. (CVE-2024-35176, CVE-2024-39908, CVE-2024-41123)

It was discovered that Ruby incorrectly handled parsing of an XML document
that has many entity expansions with SAX2 or pull parser API. An attacker
could use this issue to cause Ruby to crash, resulting in a denial of
service. (CVE-2024-41946)

It was discovered that Ruby incorrectly handled parsing of an XML document
that has many digits in a hex numeric character reference. An attacker
could use this issue to cause Ruby to crash, resulting in a denial of
service. (CVE-2024-49761)

Severity

Not rated by the source.

Dates

Published
2024-11-05 03:39 UTC
Modified
2026-04-27 17:47 UTC

Affected packages and fixes

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