CVE-2009-1904

high

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.

References

https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780

https://exchange.xforce.ibmcloud.com/vulnerabilities/51032

https://bugs.launchpad.net/bugs/cve/2009-1904

https://bugs.launchpad.net/bugs/385436

http://www.vupen.com/english/advisories/2009/1563

http://www.ubuntu.com/usn/USN-805-1

http://www.securitytracker.com/id?1022371

http://www.securityfocus.com/bid/35278

http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/

http://www.ruby-forum.com/topic/189071

http://www.redhat.com/support/errata/RHSA-2009-1140.html

http://www.mandriva.com/security/advisories?name=MDVSA-2009:160

http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/

http://support.apple.com/kb/HT4077

http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805

http://security.gentoo.org/glsa/glsa-200906-02.xml

http://secunia.com/advisories/37705

http://secunia.com/advisories/35937

http://secunia.com/advisories/35699

http://secunia.com/advisories/35593

http://secunia.com/advisories/35527

http://secunia.com/advisories/35399

http://osvdb.org/55031

http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html

http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html

http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source

http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master

http://bugs.gentoo.org/show_bug.cgi?id=273213

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689

Details

Source: Mitre, NVD

Published: 2009-06-11

Updated: 2017-09-29

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High