+++ This bug was initially created as a clone of Bug #199538 +++ Description of problem: Vulnerabilities has been reported in Ruby, which can be proceeded insecure operations that originally wasn't expected in the certain safe-level restrictions. Version-Release number of selected component (if applicable): all versions of Ruby without any exceptions, such as 1.6.x and 1.8.x. How reproducible: always Steps to Reproduce: 1.ruby dir_jvn13947696.rb 2.ruby dir_jvn13947696_2.rb 3. Actual results: no exceptions. Expected results: $ ruby dir_jvn13947696.rb dir_jvn13947696.rb:5:in `read': Insecure: operation on untainted Dir (SecurityError) from dir_jvn13947696.rb:3:in `join' from dir_jvn13947696.rb:3 $ ruby dir_jvn13947696_2.rb dir_jvn13947696_2.rb:5:in `close': Insecure: can't close (SecurityError) from dir_jvn13947696_2.rb:3:in `join' from dir_jvn13947696_2.rb:3 Additional info: This affects to RHEL2.1, 3 and 4 as well.
See Bug#199538 for the testcases.
Fixed packages has been built.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0604.html