Live threats

All CVEs / Ruby-lang

CVE-2011-1005Ruby-lang Ruby

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Mar 2, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8.6
ruby-langruby1.8.6-420
ruby-langruby1.8.7
ruby-langruby1.8.7-330
ruby-langruby1.8.8

Official sources

References

Links published by the sources. Open them with care.