The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#to_s method, as demonstrated by changing an intended pathname.
2011-03-02T20:00:01.880
2025-04-11T00:51:21.963
Deferred
CVSSv2: 5.0 (MEDIUM)
AV:N/AC:L/Au:N/C:N/I:P/A:N
10.0
2.9
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | ruby-lang | ruby | 1.8.6 | Yes |
| Application | ruby-lang | ruby | 1.8.6-420 | Yes |
| Application | ruby-lang | ruby | 1.8.7 | Yes |
| Application | ruby-lang | ruby | 1.8.7-330 | Yes |
| Application | ruby-lang | ruby | 1.8.8 | Yes |