Bug 199539 - CVE-2006-3694 Insecure operations in the certain safe-level restrictions
Summary: CVE-2006-3694 Insecure operations in the certain safe-level restrictions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: ruby
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Akira TAGOH
QA Contact: Bill Huang
URL:
Whiteboard: source=debian,reported=20060712,impac...
Depends On: 199538
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-20 08:42 UTC by Akira TAGOH
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHSA-2006-0604
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-27 20:33:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0604 0 normal SHIPPED_LIVE Moderate: ruby security update 2006-07-27 04:00:00 UTC

Description Akira TAGOH 2006-07-20 08:42:09 UTC
+++ 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.

Comment 1 Akira TAGOH 2006-07-20 08:43:26 UTC
See Bug#199538 for the testcases.

Comment 3 Akira TAGOH 2006-07-21 12:47:36 UTC
Fixed packages has been built.

Comment 7 Red Hat Bugzilla 2006-07-27 20:33:26 UTC
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



Note You need to log in before you can comment on or make changes to this bug.