All vulnerabilities

Servers and applications

CVE-2011-1005

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.

Severity
Medium 5.0
Published
2 Mar 2011
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
2.8% in the next 30 daysHigher than 86% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 1.8.6
  • Version 1.8.6-420
  • Version 1.8.7
  • Version 1.8.7-330
  • Version 1.8.8-dev

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2011-1005
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2011-1005