Bug 458789 - [ruby] Ruby allows modification of a global variable at $SAFE=4
Summary: [ruby] Ruby allows modification of a global variable at $SAFE=4
Keywords:
Status: CLOSED DUPLICATE of bug 458948
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-12 10:26 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:26 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-08-13 13:24:51 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


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