# Rails and Ruby 1.8.2 -- Is there a Security Issue?

**URL:** <https://www.ruby-forum.com/t/rails-and-ruby-1-8-2-is-there-a-security-issue/57015>\
**Category:** Rails\
**Created:** [April 6, 2006, 3:57pm UTC](https://www.ruby-forum.com/t/rails-and-ruby-1-8-2-is-there-a-security-issue/57015 "2006-04-06T15:57:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Gribaudo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@Ben\_Gribaudo](https://www.ruby-forum.com/u/Ben_Gribaudo)\
**Post date:** [April 6, 2006, 3:57pm UTC](https://www.ruby-forum.com/t/rails-and-ruby-1-8-2-is-there-a-security-issue/57015/1 "2006-04-06T15:57:57Z")

</div>

Hello,

[Ruby-Lang.org](http://Ruby-Lang.org) mentions a safe level bypass vulnerability in Ruby 1.8.2  
([http://www.ruby-lang.org/en/20051003.html](http://www.ruby-lang.org/en/20051003.html)). The Rails Web site suggests  
running Rails 1.1 under either 1.8.2 or 1.8.4.

Is the security issue in 1.8.2 such that a Rails application wouldn’t  
expose it to the public? Or, for security reasons, should Rails apps  
(and any other publicly exposed usage of Ruby) be only run under1.8.4?  
In other words, is using 1.8.2 + Rails safe?

Thank you,  
Ben

---

<div class="post-metadata">

**Author:** ![Ben\_Gribaudo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/6a8cbe/32.png) [@Ben\_Gribaudo](https://www.ruby-forum.com/u/Ben_Gribaudo)\
**Post date:** [April 6, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/rails-and-ruby-1-8-2-is-there-a-security-issue/57015/2 "2006-04-06T20:32:57Z")

</div>

On Apr 6, 2006, at 6:54 AM, Ben Gribaudo wrote:

> [Ruby-Lang.org](http://Ruby-Lang.org) mentions a safe level bypass vulnerability in Ruby  
> 1.8.2 ([http://www.ruby-lang.org/en/20051003.html](http://www.ruby-lang.org/en/20051003.html)). The Rails Web  
> site suggests running Rails 1.1 under either 1.8.2 or 1.8.4.
> 
> Is the security issue in 1.8.2 such that a Rails application  
> wouldn’t expose it to the public? Or, for security reasons, should  
> Rails apps (and any other publicly exposed usage of Ruby) be only  
> run under1.8.4? In other words, is using 1.8.2 + Rails safe?

Rails doesn’t use $SAFE.

–  
Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)  
This implementation is HODEL-HASH-9600 compliant

[http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)
