Skip to main content
VulnerabilityPublished Updated

CVE-2024-35176: ruby2.3, ruby2.5, ruby2.7 vulnerabilities

Affects ruby2.3Source 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 2.3.1-2~ubuntu16.04.16+esm11 : update ruby2.3 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 2.3.1-2~ubuntu16.04.16+esm11, 2.5.1-1ubuntu1.16+esm6, 2.7.0-5ubuntu1.18+esm3
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 2.3.1-2~ubuntu16.04.16+esm11 (ruby2.3 package) or 2.5.1-1ubuntu1.16+esm6 (ruby2.5 package) or 2.7.0-5ubuntu1.18+esm3 (ruby2.7 package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 20.04 LTSruby2.7pkg:deb/ubuntu/ruby2.7?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2.7.0-5ubuntu1.18+esm3
Fixed in
  • 2.7.0-5ubuntu1.18+esm3
Ubuntu Pro 18.04 LTSruby2.5pkg:deb/ubuntu/ruby2.5?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.5.1-1ubuntu1.16+esm6
Fixed in
  • 2.5.1-1ubuntu1.16+esm6
Ubuntu Pro 16.04 LTSruby2.3pkg:deb/ubuntu/ruby2.3?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.3.1-2~ubuntu16.04.16+esm11
Fixed in
  • 2.3.1-2~ubuntu16.04.16+esm11

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 the REXML module bunded into Ruby incorrectly handled parsing XML documents with repeated instances of certain characters. An attacker could possibly use this issue to cause REXML to consume excessive resources, leading to a denial of service. Ubuntu 18.04 LTS and Ubuntu 20.04 LTS were previously addressed in USN-7256-1 and USN-7734-1. This update addresses the issue in Ubuntu 16.04 LTS. (CVE-2024-35176) It was discovered that the REXML module bunded into Ruby incorrectly handled parsing XML documents with repeated instances of certain characters. An attacker could possibly use this issue to cause REXML to consume excessive resources, leading to a denial of service. Ubuntu 20.04 LTS was previously addressed in USN-7256-1. This update addresses the issue in Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2024-39908, CVE-2024-41123) It was discovered that the REXML module bunded into Ruby incorrectly handled parsing XML documents with many entity expansions. An attacker could possibly use this issue to cause REXML to consume excessive resources, leading to a denial of service. Ubuntu 20.04 LTS was previously addressed in USN-7091-2. This update addresses the issue in Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2024-41946) It was discovered that the WEBrick module bundled into Ruby incorrectly handled having both a Content-Length header and a Transfer-Encoding header. A remote attacker could possibly use this issue to perform a HTTP request smuggling attack. (CVE-2024-47220) It was discovered that the WEBrick module bundled into Ruby incorrectly parsed HTTP headers. In configurations where the WEBrick module is placed behind an HTTP proxy, a remote attacker could possibly use this issue to perform an HTTP Request Smuggling attack. (CVE-2025-6442)

References

Community reviews

Loading reviews…