CVE-2009-1904
MEDIUM 5.0CVSS 2.0The 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.
- Published
- 11 Jun 2009
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-189
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:* |
= 1.8.6 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:* |
= 1.8.7 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689 · Patch
- http://bugs.gentoo.org/show_bug.cgi?id=273213
- http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master · Patch
- http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html
- http://osvdb.org/55031
- http://redmine.ruby-lang.org/issues/show/794 · Exploit, Patch
- http://secunia.com/advisories/35399 · Vendor Advisory
- http://secunia.com/advisories/35527
- http://secunia.com/advisories/35593
- http://secunia.com/advisories/35699
- http://secunia.com/advisories/35937
- http://secunia.com/advisories/37705
- http://security.gentoo.org/glsa/glsa-200906-02.xml
- http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805
- http://support.apple.com/kb/HT4077
- http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/ · Patch
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:160
- http://www.redhat.com/support/errata/RHSA-2009-1140.html
- http://www.ruby-forum.com/topic/189071
- http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/ · Patch, Vendor Advisory
- http://www.securityfocus.com/bid/35278
- http://www.securitytracker.com/id?1022371
- http://www.ubuntu.com/usn/USN-805-1
- http://www.vupen.com/english/advisories/2009/1563
- https://bugs.launchpad.net/bugs/385436
- https://bugs.launchpad.net/bugs/cve/2009-1904
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51032
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780
- https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 11 Jun 2009)