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.