CVE Vulnerabilities

CVE-2011-1005

Published: Mar 02, 2011 | Modified: Aug 13, 2013
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
4.3 LOW
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V3
Ubuntu
LOW

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.

Affected Software

Name Vendor Start Version End Version
Ruby Ruby-lang 1.8.6 (including) 1.8.6 (including)
Ruby Ruby-lang 1.8.6-420 (including) 1.8.6-420 (including)
Ruby Ruby-lang 1.8.7 (including) 1.8.7 (including)
Ruby Ruby-lang 1.8.7-330 (including) 1.8.7-330 (including)
Ruby Ruby-lang 1.8.8-dev (including) 1.8.8-dev (including)
Red Hat Enterprise Linux 4 RedHat ruby-0:1.8.1-16.el4 *
Red Hat Enterprise Linux 5 RedHat ruby-0:1.8.5-19.el5_6.1 *
Red Hat Enterprise Linux 6 RedHat ruby-0:1.8.7.299-7.el6_1.1 *
Ruby1.8 Ubuntu dapper *
Ruby1.8 Ubuntu hardy *
Ruby1.8 Ubuntu karmic *
Ruby1.8 Ubuntu lucid *
Ruby1.8 Ubuntu maverick *
Ruby1.8 Ubuntu natty *
Ruby1.8 Ubuntu upstream *
Ruby1.9 Ubuntu dapper *
Ruby1.9 Ubuntu hardy *
Ruby1.9 Ubuntu karmic *
Ruby1.9.1 Ubuntu devel *
Ruby1.9.1 Ubuntu karmic *
Ruby1.9.1 Ubuntu maverick *
Ruby1.9.1 Ubuntu precise *

References