{"id":"CVE-2009-1904","state":"PUBLISHED","title":"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 tha","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.","publishedAt":"2009-06-11T21:00:00.000Z","updatedAt":"2024-08-07T05:27:54.831Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.vupen.com/english/advisories/2009/1563","http://secunia.com/advisories/35937","http://secunia.com/advisories/35593","http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","http://redmine.ruby-lang.org/issues/show/794","https://bugs.launchpad.net/bugs/cve/2009-1904","http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","http://www.redhat.com/support/errata/RHSA-2009-1140.html","http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html","http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source","http://www.securitytracker.com/id?1022371","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780","http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","http://secunia.com/advisories/35399","http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","http://www.ubuntu.com/usn/USN-805-1","https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html","http://osvdb.org/55031","http://www.securityfocus.com/bid/35278","http://bugs.gentoo.org/show_bug.cgi?id=273213","http://secunia.com/advisories/37705","http://support.apple.com/kb/HT4077","http://secunia.com/advisories/35699","https://bugs.launchpad.net/bugs/385436","http://security.gentoo.org/glsa/glsa-200906-02.xml","http://www.mandriva.com/security/advisories?name=MDVSA-2009:160","http://www.ruby-forum.com/topic/189071","https://exchange.xforce.ibmcloud.com/vulnerabilities/51032","http://secunia.com/advisories/35527","http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:15.997Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2009/1xxx/CVE-2009-1904.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2009-1904","state":"PUBLISHED","datePublished":"2009-06-11T21:00:00.000Z","dateUpdated":"2024-08-07T05:27:54.831Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2009-06-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.vupen.com/english/advisories/2009/1563","name":"ADV-2009-1563","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/35937","name":"35937","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/35593","name":"35593","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","tags":["x_refsource_CONFIRM"]},{"url":"http://redmine.ruby-lang.org/issues/show/794","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.launchpad.net/bugs/cve/2009-1904","tags":["x_refsource_CONFIRM"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","name":"RHSA-2009:1140","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html","name":"[pkgsrc-changes] 20090610 CVS commit: pkgsrc/lang/ruby18-base","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source","name":"[rubyonrails-security] 20090610 DoS Vulnerability in Ruby (CVE-2009-1904)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securitytracker.com/id?1022371","name":"1022371","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780","name":"oval:org.mitre.oval:def:9780","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","name":"APPLE-SA-2010-03-29-1","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/35399","name":"35399","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","tags":["x_refsource_CONFIRM"]},{"url":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-805-1","name":"USN-805-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html","name":"FEDORA-2009-13066","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://osvdb.org/55031","name":"55031","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securityfocus.com/bid/35278","name":"35278","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=273213","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/37705","name":"37705","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://support.apple.com/kb/HT4077","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/35699","name":"35699","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://bugs.launchpad.net/bugs/385436","tags":["x_refsource_CONFIRM"]},{"url":"http://security.gentoo.org/glsa/glsa-200906-02.xml","name":"GLSA-200906-02","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:160","name":"MDVSA-2009:160","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.ruby-forum.com/topic/189071","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51032","name":"ruby-bigdecimal-dos(51032)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/35527","name":"35527","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805","name":"SSA:2009-170-02","tags":["vendor-advisory","x_refsource_SLACKWARE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2009-06-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-1904","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"ADV-2009-1563","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2009/1563"},{"name":"35937","refsource":"SECUNIA","url":"http://secunia.com/advisories/35937"},{"name":"35593","refsource":"SECUNIA","url":"http://secunia.com/advisories/35593"},{"name":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","refsource":"CONFIRM","url":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/"},{"name":"http://redmine.ruby-lang.org/issues/show/794","refsource":"CONFIRM","url":"http://redmine.ruby-lang.org/issues/show/794"},{"name":"https://bugs.launchpad.net/bugs/cve/2009-1904","refsource":"CONFIRM","url":"https://bugs.launchpad.net/bugs/cve/2009-1904"},{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","refsource":"CONFIRM","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689"},{"name":"RHSA-2009:1140","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html"},{"name":"[pkgsrc-changes] 20090610 CVS commit: pkgsrc/lang/ruby18-base","refsource":"MLIST","url":"http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html"},{"name":"[rubyonrails-security] 20090610 DoS Vulnerability in Ruby (CVE-2009-1904)","refsource":"MLIST","url":"http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source"},{"name":"1022371","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1022371"},{"name":"oval:org.mitre.oval:def:9780","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780"},{"name":"APPLE-SA-2010-03-29-1","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"},{"name":"35399","refsource":"SECUNIA","url":"http://secunia.com/advisories/35399"},{"name":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","refsource":"CONFIRM","url":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master"},{"name":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","refsource":"CONFIRM","url":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/"},{"name":"USN-805-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-805-1"},{"name":"FEDORA-2009-13066","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html"},{"name":"55031","refsource":"OSVDB","url":"http://osvdb.org/55031"},{"name":"35278","refsource":"BID","url":"http://www.securityfocus.com/bid/35278"},{"name":"http://bugs.gentoo.org/show_bug.cgi?id=273213","refsource":"CONFIRM","url":"http://bugs.gentoo.org/show_bug.cgi?id=273213"},{"name":"37705","refsource":"SECUNIA","url":"http://secunia.com/advisories/37705"},{"name":"http://support.apple.com/kb/HT4077","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT4077"},{"name":"35699","refsource":"SECUNIA","url":"http://secunia.com/advisories/35699"},{"name":"https://bugs.launchpad.net/bugs/385436","refsource":"CONFIRM","url":"https://bugs.launchpad.net/bugs/385436"},{"name":"GLSA-200906-02","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200906-02.xml"},{"name":"MDVSA-2009:160","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:160"},{"name":"http://www.ruby-forum.com/topic/189071","refsource":"CONFIRM","url":"http://www.ruby-forum.com/topic/189071"},{"name":"ruby-bigdecimal-dos(51032)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51032"},{"name":"35527","refsource":"SECUNIA","url":"http://secunia.com/advisories/35527"},{"name":"SSA:2009-170-02","refsource":"SLACKWARE","url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.vupen.com/english/advisories/2009/1563","name":"ADV-2009-1563","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/35937","name":"35937","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/35593","name":"35593","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://redmine.ruby-lang.org/issues/show/794","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.launchpad.net/bugs/cve/2009-1904","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","name":"RHSA-2009:1140","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html","name":"[pkgsrc-changes] 20090610 CVS commit: pkgsrc/lang/ruby18-base","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source","name":"[rubyonrails-security] 20090610 DoS Vulnerability in Ruby (CVE-2009-1904)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securitytracker.com/id?1022371","name":"1022371","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780","name":"oval:org.mitre.oval:def:9780","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","name":"APPLE-SA-2010-03-29-1","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://secunia.com/advisories/35399","name":"35399","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-805-1","name":"USN-805-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html","name":"FEDORA-2009-13066","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://osvdb.org/55031","name":"55031","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.securityfocus.com/bid/35278","name":"35278","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=273213","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/37705","name":"37705","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://support.apple.com/kb/HT4077","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/35699","name":"35699","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://bugs.launchpad.net/bugs/385436","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200906-02.xml","name":"GLSA-200906-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:160","name":"MDVSA-2009:160","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.ruby-forum.com/topic/189071","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51032","name":"ruby-bigdecimal-dos(51032)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/35527","name":"35527","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805","name":"SSA:2009-170-02","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T05:27:54.831Z"}}]}}}