CVEvulnerability

CVE-2011-1005

5.0 MEDIUM Published 2011-03-02 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2011-03-02
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
CWE-264

Description

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 configurations

• ruby-lang ruby 1.8.6 • ruby-lang ruby 1.8.6-420 • ruby-lang ruby 1.8.7 • ruby-lang ruby 1.8.7-330 • ruby-lang ruby 1.8.8

Related

Weakness · not in database (1)

References