Mission and Overview
NVD is the U.S. government repository of standards based vulnerability management data. This data enables automation of vulnerability management, security measurement, and compliance (e.g. FISMA).
Resource Status
NVD contains:

Last updated: 11/26/2015 2:35:20 PM

CVE Publication rate: 14.63

Email List

NVD provides four mailing lists to the public. For information and subscription instructions please visit NVD Mailing Lists

Workload Index
Vulnerability Workload Index: 7.12
About Us
NVD is a product of the NIST Computer Security Division and is sponsored by the Department of Homeland Security's National Cyber Security Division. It supports the U.S. government multi-agency (OSD, DHS, NSA, DISA, and NIST) Information Security Automation Program. It is the U.S. government content repository for the Security Content Automation Protocol (SCAP).

National Cyber Awareness System

Vulnerability Summary for CVE-2009-1904

Original release date: 06/11/2009
Last revised: 08/21/2010


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.


CVSS Severity (version 2.0):
CVSS v2 Base Score: 5.0 (MEDIUM) (AV:N/AC:L/Au:N/C:N/I:N/A:P) (legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type: Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

External Source: BID
Name: 35278
External Source: XF
Name: ruby-bigdecimal-dos(51032)
External Source: CONFIRM
Name: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689
Type: Patch Information
External Source: VUPEN
Name: ADV-2009-1563
External Source: APPLE
Name: APPLE-SA-2010-03-29-1
External Source: OVAL
Name: oval:org.mitre.oval:def:9780
External Source: CONFIRM
Name: http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/
Type: Patch Information
External Source: CONFIRM
Name: https://bugs.launchpad.net/bugs/cve/2009-1904
External Source: CONFIRM
Name: http://bugs.gentoo.org/show_bug.cgi?id=273213
External Source: CONFIRM
Name: https://bugs.launchpad.net/bugs/385436
External Source: OSVDB
Name: 55031
External Source: CONFIRM
Name: http://www.ruby-forum.com/topic/189071
External Source: CONFIRM
Name: http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/
Type: Advisory; Patch Information
External Source: REDHAT
Name: RHSA-2009:1140
External Source: MLIST
Name: [rubyonrails-security] 20090610 DoS Vulnerability in Ruby (CVE-2009-1904)
External Source: SECTRACK
Name: 1022371
External Source: CONFIRM
Name: http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master
Type: Patch Information
External Source: GENTOO
Name: GLSA-200906-02
External Source: CONFIRM
Name: http://support.apple.com/kb/HT4077
External Source: FEDORA
Name: FEDORA-2009-13066
External Source: SLACKWARE
Name: SSA:2009-170-02
External Source: CONFIRM
Name: http://redmine.ruby-lang.org/issues/show/794
Type: Patch Information; Exploit
External Source: MLIST
Name: [pkgsrc-changes] 20090610 CVS commit: pkgsrc/lang/ruby18-base
External Source: MANDRIVA
Name: MDVSA-2009:160
External Source: UBUNTU
Name: USN-805-1

References to Check Content

Identifier: oval:org.mitre.oval:def:9780
Check System: http://oval.mitre.org/XMLSchema/oval-definitions-5

Vulnerable software and versions

+ Configuration 1
+ OR
* cpe:/a:ruby-lang:ruby:1.8.7
* cpe:/a:ruby-lang:ruby:1.8.6

* Denotes Vulnerable Software
Changes related to vulnerability configurations

Technical Details

Vulnerability Type (View All)