CVE-2009-1904

Priority
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.
Notes
 mdeslaur> PoC here: http://github.com/NZKoz/bigdecimal-segfault-fix/tree/master
 mdeslaur> PoC here: http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/
 mdeslaur> best PoC here: http://redmine.ruby-lang.org/issues/show/794
 mdeslaur> backporting patch may introduce regression, see RH bug
Assigned-to
mdeslaur
More Information

Updated: 2019-03-19 11:50:05 UTC (commit 15472795df7e9de45b82f2d36b8b419b939f97b2)