CVE-2009-1904

Public Exploit

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.

Category

5.0
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 5.55% Top 15%
Vendor Advisory redhat.com Vendor Advisory apple.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory mandriva.com Vendor Advisory slackware.com Vendor Advisory secunia.com Vendor Advisory ruby-lang.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.vupen.com/english/advisories/2009/1563 vdb entry
http://secunia.com/advisories/35937 third party advisory
http://secunia.com/advisories/35593 third party advisory
http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/ patch vendor advisory
http://redmine.ruby-lang.org/issues/show/794 patch exploit
https://bugs.launchpad.net/bugs/cve/2009-1904
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532689 patch
http://www.redhat.com/support/errata/RHSA-2009-1140.html vendor advisory
http://mail-index.netbsd.org/pkgsrc-changes/2009/06/10/msg024708.html mailing list
http://groups.google.com/group/rubyonrails-security/msg/fad60751e2b9b4f6?dmode=source mailing list
http://www.securitytracker.com/id?1022371 vdb entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780 vdb entry signature
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html vendor advisory
http://secunia.com/advisories/35399 third party advisory vendor advisory
http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master patch
http://weblog.rubyonrails.org/2009/6/10/dos-vulnerability-in-ruby/ patch
http://www.ubuntu.com/usn/USN-805-1 vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html vendor advisory
http://osvdb.org/55031 vdb entry
http://www.securityfocus.com/bid/35278 vdb entry
http://bugs.gentoo.org/show_bug.cgi?id=273213
http://secunia.com/advisories/37705 third party advisory
http://support.apple.com/kb/HT4077
http://secunia.com/advisories/35699 third party advisory
https://bugs.launchpad.net/bugs/385436
http://security.gentoo.org/glsa/glsa-200906-02.xml vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2009:160 vendor advisory
http://www.ruby-forum.com/topic/189071
https://exchange.xforce.ibmcloud.com/vulnerabilities/51032 vdb entry
http://secunia.com/advisories/35527 third party advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2009&m=slackware-security.430805 vendor advisory

Frequently Asked Questions

What is the severity of CVE-2009-1904?
CVE-2009-1904 has been scored as a medium severity vulnerability.
How to fix CVE-2009-1904?
To fix CVE-2009-1904, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2009-1904 being actively exploited in the wild?
It is possible that CVE-2009-1904 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~6% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.