Security Release - raven-ruby 0.12.2

173 views
Skip to first unread message

David Cramer

unread,
Dec 8, 2014, 6:08:57 PM12/8/14
to gets...@googlegroups.com
We've identified an issue in raven-ruby that poses a potential Denial of Service attack in certain scenarios. This issue had potential to exist as far back as the 0.6.0 series, and is addressed in the 0.12.2 security release. The specific vulnerability is exposed when an attempt is made to decode large numeric value stored as an exponent/in scientific notation. Due to the library not needed this functionality we have simply disabled conversion of these kinds of values.

The specific commit addressing these issues can be seen here:


As an aside, if you use the okjson library (outside of the raven-ruby client) this vulnerability may affect you in other ways and we suggest you explore that possibility.

A big thanks to the team at Travis CI for responsibly reporting this vulnerability.

David Cramer

unread,
Dec 8, 2014, 7:42:55 PM12/8/14
to gets...@googlegroups.com
As an aside, we also pushed out a 0.6.1 release which includes the fix.

Taras D

unread,
Dec 19, 2014, 10:30:47 PM12/19/14
to gets...@googlegroups.com
Do you have a link explaining the vulnerability?

David Cramer

unread,
Dec 19, 2014, 10:35:20 PM12/19/14
to gets...@googlegroups.com
The vulnerability has to do with the potential high cost of computing the exponential number.

That is, decoding a value of "10e[some_relaly_large_number]” can burn CPU. Given that The Raven client can accept user input (via people passing it is as context) it made it possible to craft requests which would stall webservers.
--
You received this message because you are subscribed to the Google Groups "sentry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getsentry+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Taras D

unread,
Dec 26, 2014, 8:24:53 PM12/26/14
to gets...@googlegroups.com
Thanks for the reply David :)
Reply all
Reply to author
Forward
0 new messages