CVE-2011-1005

Exp

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.

Published: 2011-03-02 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2011-1005 is rated High Exploit Risk (65.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.77%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2011-1005

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2011-1005

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.12% 2.77% +0.65%
2 2026-03-26 2.85% 2.12% -0.73%
3 2026-02-14 2.85%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2011-1005

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2011-1005

OS Trackers for CVE-2011-1005

vendor priority summary link
gentoo normal CVE-2011-1005: 1 GLSA(s) (201412-27), 1 atom(s) (dev-lang/ruby); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2011-1005
redhat low https://access.redhat.com/security/cve/CVE-2011-1005
ubuntu low CVE-2011-1005 low priority: Ubuntu including 3 source packages (ruby1.8, ruby1.9, ruby1.9.1), 27 status rows across 9 suites (dapper, hardy, karmic, lucid, maverick, natty, oneiric, precise, upstream): ignored 8, DNE 6, not-affected 6, released 5, needs-triage 2. https://ubuntu.com/security/CVE-2011-1005

Affected software / configurations for CVE-2011-1005

Vendor Product Version Raw CPE
ruby-lang ruby 1.8.6 cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*
ruby-lang ruby 1.8.6-420 cpe:2.3:a:ruby-lang:ruby:1.8.6-420:*:*:*:*:*:*:*
ruby-lang ruby 1.8.7 cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*
ruby-lang ruby 1.8.7-330 cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*
ruby-lang ruby 1.8.8 cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:*

References for CVE-2011-1005

URL Tags
http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html
http://osvdb.org/70957
http://secunia.com/advisories/43420
http://secunia.com/advisories/43573
http://support.apple.com/kb/HT5281
http://www.mandriva.com/security/advisories?name=MDVSA-2011:097
http://www.mandriva.com/security/advisories?name=MDVSA-2011:098
http://www.openwall.com/lists/oss-security/2011/02/21/2 Patch
http://www.openwall.com/lists/oss-security/2011/02/21/5 Patch
http://www.redhat.com/support/errata/RHSA-2011-0908.html
http://www.redhat.com/support/errata/RHSA-2011-0909.html
http://www.redhat.com/support/errata/RHSA-2011-0910.html
http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/ Exploit Patch Vendor Advisory
http://www.securityfocus.com/bid/46458
http://www.vupen.com/english/advisories/2011/0539
https://bugzilla.redhat.com/show_bug.cgi?id=678920 Patch
cvelogic Threat Intelligence