<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brightbox Blog &#187; bigdecimal</title>
	<atom:link href="http://blog.brightbox.co.uk/tag/bigdecimal/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.brightbox.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 12:56:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ruby BigDecimal denial of service</title>
		<link>http://blog.brightbox.co.uk/posts/ruby-bigdecimal-denial-of-service</link>
		<comments>http://blog.brightbox.co.uk/posts/ruby-bigdecimal-denial-of-service#comments</comments>
		<pubDate>Wed, 10 Jun 2009 10:50:39 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[bigdecimal]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=590</guid>
		<description><![CDATA[From ruby-lang.org: A denial of service (DoS) vulnerability was found on the BigDecimal standard library of Ruby. Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults. ActiveRecord relies on this method, so most Rails applications are affected by this. Though this is not a Rails-specific issue. [...]]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/">ruby-lang.org</a>:</p>
<blockquote><p>A denial of service (DoS) vulnerability was found on the BigDecimal standard library of Ruby.  Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.</p>
<p>ActiveRecord relies on this method, so most Rails applications are affected by this.  Though this is not a Rails-specific issue.</p></blockquote>
<p>We&#8217;re currently  building new Ruby packages for Brightbox customers with the relevant patches to fix this vulnerability. We&#8217;ll keep this post updated with the latest news.</p>
<p>UPDATE, 15:46 BST: New Ruby EE packages are now available in our<a href="http://wiki.brightbox.co.uk/docs:ruby-enterprise"> Ruby Enterprise Ubuntu repository</a>. We&#8217;re working on updates for the standard Ubuntu version of Ruby.</p>
<p>You can confirm that the update fixes the bug with the following command:</p>
<pre>ruby -e 'require "bigdecimal";BigDecimal("E99999999").to_s("F");puts "OK"'</pre>
<p>If your version of Ruby is vulnerable, you&#8217;ll get a &#8220;Segmentation fault&#8221; error message, otherwise it prints &#8220;OK&#8221;.</p>
<p>UPDATE: Official Ubuntu packages to fix this vulnerability are now available.  The Hardy package is libruby1.8 version 1.8.6.111-2ubuntu1.3 and the Dapper package is libruby1.8 version 1.8.4-1ubuntu1.7.  The packages will be available for install after a normal apt-get update.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/ruby-bigdecimal-denial-of-service/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

