CVE-2024-35176: ruby3.0, ruby3.2, ruby3.3 vulnerabilities
Affects ruby3.0Source GCVE Database
Mentioned vulnerabilities
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
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.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:LExploitation evidence
Disclosed: evidence found.
CVE published 16 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSruby3.0pkg:deb/ubuntu/ruby3.0?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/notices/USN-7091-1 (opens in a new tab)
- ubuntu.com/security/CVE-2024-35176 (opens in a new tab)
- ubuntu.com/security/CVE-2024-39908 (opens in a new tab)
- ubuntu.com/security/CVE-2024-41123 (opens in a new tab)
- ubuntu.com/security/CVE-2024-41946 (opens in a new tab)
- ubuntu.com/security/CVE-2024-49761 (opens in a new tab)