Bug 458789

Summary: [ruby] Ruby allows modification of a global variable at $SAFE=4
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: tagoh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-13 13:24:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Lieskovsky 2008-08-12 10:26:38 UTC
Description of problem:

Ruby allows modification of a global variable at safe level of $SAFE=4
via trace_var and untrace_var methods (Setting the hook to the variable, which is called when the value of the variable changed).

Proposed patch:

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17692

Comment 3 Jan Lieskovsky 2008-08-13 13:24:51 UTC

*** This bug has been marked as a duplicate of bug 458948 ***