Skip to content
OpenAdvisories
Unscored Public exploit CVE-2008-3790 EUVD-2008-3776GHSA-96jc-f6m3-pf2w

The REXML module in Ruby 1.8.6 through 1.8.6-p287, 1.8.7 through 1.8.7-p72, and 1.9 allows context-dependent attackers to cause a denial of…

Published Aug 27, 2008 · Updated Aug 7, 2024 · Assigned by mitre

Description

The REXML module in Ruby 1.8.6 through 1.8.6-p287, 1.8.7 through 1.8.7-p72, and 1.9 allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML document with recursively nested entities, aka an "XML entity explosion."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 4.0 ruby1.8 1.8.5-4etch3 DSA-1651-1
Debian 4.0 ruby1.9 1.9.0+20060609-1etch3 DSA-1652-1
ReleasePackageFixed inAdvisory
RHEL 5 ruby +8 1.8.5-5.el5_2.5 RHSA-2008:0897
RHEL 4 irb +6 1.8.1-7.el4_7.1 RHSA-2008:0897

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References