Lucene search

K
rubygemsRubySecRUBY:RUBY-2012-4464
HistoryOct 11, 2012 - 8:00 p.m.

Ruby Exception#to_s / NameError#to_s Methods Safe Level Security Bypass

2012-10-1120:00:00
RubySec
rubysec.com
9

Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows
context-dependent attackers to bypass safe-level restrictions and modify
untainted strings via the (1) exc_to_s or (2) name_err_to_s API function,
which marks the string as tainted, a different vulnerability than
CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005
regression.

CPENameOperatorVersion
rubyle1.8.7.370
rubyge1.8.8.0
rubylt1.9.3.286