Skip to main content
VulnerabilityPublished Updated

CVE-2024-35176: ruby3.0, ruby3.2, ruby3.3 vulnerabilities

Affects ruby3.0Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-35176· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 3.0.2-7ubuntu2.8 : update ruby3.0 when convenient.

Data as of 24 Nov 2026, 17:24 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.3
Patch
Available – fixed in 3.0.2-7ubuntu2.8, 3.2.3-1ubuntu0.24.04.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu to 3.0.2-7ubuntu2.8 (ruby3.0 package) or 3.2.3-1ubuntu0.24.04.3 (ruby3.2 package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threatsAffected
  • <3.2.3-1ubuntu0.24.04.3
Fixed in
  • 3.2.3-1ubuntu0.24.04.3
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threatsAffected
  • <3.0.2-7ubuntu2.8
Fixed in
  • 3.0.2-7ubuntu2.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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)

References

Community reviews

Loading reviews…