CVE-2009-1904Ruby-lang Ruby
Medium 5.0 No auth neededHigh EPSS
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 12.8% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Jun 11, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-189
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | 1.8.6 |
| ruby-lang | ruby | 1.8.7 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org Patch
- bugs.gentoo.org
- github.com Patch
- groups.google.com
- lists.apple.com
- mail-index.netbsd.org
- osvdb.org
- redmine.ruby-lang.org Exploit Patch
- secunia.com Vendor Advisory
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- security.gentoo.org
- slackware.com
- support.apple.com
- weblog.rubyonrails.org Patch
- www.mandriva.com
- www.redhat.com
- www.ruby-forum.com
- www.ruby-lang.org Patch Vendor Advisory
- www.securityfocus.com
- www.securitytracker.com
- www.ubuntu.com
- www.vupen.com
- bugs.launchpad.net
- bugs.launchpad.net
- exchange.xforce.ibmcloud.com
- oval.cisecurity.org
- www.redhat.com