{"id":"CVE-2009-1904","sourceIdentifier":"cve@mitre.org","published":"2009-06-11T21:30:00.217","lastModified":"2026-06-16T23:08:19.730","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"La librería BigDecimal en Ruby v1.8.6 anteriores p369 y v1.8.7, anteriores a p173 permite a los atacantes dependientes del contexto causar una denegación de servicio (caída de la aplicación) a través de un argumento de cadena de caracteres que representa un número largo, como se demuestra por un intento de conversión al tipo de dato Float."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-189"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*","matchCriteriaId":"876B2575-4F81-4A70-9A88-9BEE44649626"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*","matchCriteriaId":"2D86FC99-3521-4E22-8FD3-65CEB05A6342"}]}]}],"references":[{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=273213","source":"cve@mitre.org"},{"url":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","source":"cve@mitre.org"},{"url":"http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html","source":"cve@mitre.org"},{"url":"http://osvdb.org/55031","source":"cve@mitre.org"},{"url":"http://redmine.ruby-lang.org/issues/show/794","source":"cve@mitre.org","tags":["Exploit","Patch"]},{"url":"http://secunia.com/advisories/35399","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/35527","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35593","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35699","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35937","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/37705","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200906-02.xml","source":"cve@mitre.org"},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805","source":"cve@mitre.org"},{"url":"http://support.apple.com/kb/HT4077","source":"cve@mitre.org"},{"url":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:160","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","source":"cve@mitre.org"},{"url":"http://www.ruby-forum.com/topic/189071","source":"cve@mitre.org"},{"url":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/35278","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id?1022371","source":"cve@mitre.org"},{"url":"http://www.ubuntu.com/usn/USN-805-1","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2009/1563","source":"cve@mitre.org"},{"url":"https://bugs.launchpad.net/bugs/385436","source":"cve@mitre.org"},{"url":"https://bugs.launchpad.net/bugs/cve/2009-1904","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51032","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780","source":"cve@mitre.org"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html","source":"cve@mitre.org"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=273213","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/55031","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://redmine.ruby-lang.org/issues/show/794","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch"]},{"url":"http://secunia.com/advisories/35399","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/35527","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35593","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35699","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35937","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/37705","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200906-02.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT4077","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:160","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1140.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ruby-forum.com/topic/189071","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/35278","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1022371","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/USN-805-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2009/1563","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.launchpad.net/bugs/385436","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.launchpad.net/bugs/cve/2009-1904","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51032","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}