Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-1904 EUVD-2009-1899GHSA-prwc-wj59-8vwr

The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (app…

Published Jun 11, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.

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 5.0 ruby1.8 1.8.7.72-3lenny1 DSA-1860-1
Debian 5.0 ruby1.9 1.9.0.2-9lenny1 DSA-1860-1
Debian 4.0 ruby1.8 1.8.5-4etch5 DSA-1860-1
Debian 4.0 ruby1.9 1.9.0+20060609-1etch5 DSA-1860-1
ReleasePackageFixed inAdvisory
RHEL 5 ruby +8 1.8.5-5.el5_3.7 RHSA-2009:1140
RHEL 4 irb +6 1.8.1-7.el4_8.3 RHSA-2009:1140

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.

GitHub 1 repository

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

Advisories 2

References