USN-7091-2

Type: Security
Severity: Medium
Published: 2024-11-21
Ubuntu 20.04 LTS (Focal Fossa)

USN-7091-1 fixed several vulnerabilities in Ruby. This update provides the corresponding update for CVE-2024-35176, CVE-2024-41123, CVE-2024-41946 and CVE-2024-49761 for ruby2.7 in Ubuntu 20.04 LTS. Original advisory 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) Update Instructions: Run `sudo pro fix USN-7091-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libruby2.7 - 2.7.0-5ubuntu1.15 ruby2.7 - 2.7.0-5ubuntu1.15 ruby2.7-dev - 2.7.0-5ubuntu1.15 ruby2.7-doc - 2.7.0-5ubuntu1.15 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-27T23:47:41.555Z UTC. Last updated 2025-11-26T08:35:03.563Z UTC.

Upstream Advisory

Affected Packages

  • libruby2.7 2.7.0-5ubuntu1.15-2.7.0-5ubuntu1.15

  • ruby2.7 2.7.0-5ubuntu1.15-2.7.0-5ubuntu1.15

  • ruby2.7-dev 2.7.0-5ubuntu1.15-2.7.0-5ubuntu1.15

  • ruby2.7-doc 2.7.0-5ubuntu1.15-2.7.0-5ubuntu1.15

Interested in being alerted when there are new versions of libruby2.7 and the other packages? Set up an alert.
USN-7091-2: Ruby vulnerabilities | Package Alert