{"id":"CVE-2011-1005","url":"https://www.cyber-defence.io/tools/cve/CVE-2011-1005","generatedAt":"2026-10-27T22:05:30.393Z","title":"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.","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.","published":"2011-03-02T20:00:02.000Z","lastModified":"2026-06-16T23:28:32.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N"},"cwe":["CWE-264"],"affected":["ruby-lang/ruby"],"epss":{"score":0.02772,"percentile":0.86235,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (2.77%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html","source":"secalert@redhat.com"},{"url":"http://osvdb.org/70957","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/43420","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/43573","source":"secalert@redhat.com"},{"url":"http://support.apple.com/kb/HT5281","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:098","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/2","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"secalert@redhat.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","source":"secalert@redhat.com"},{"url":"http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/","tags":["Exploit","Patch","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/46458","source":"secalert@redhat.com"},{"url":"http://www.vupen.com/english/advisories/2011/0539","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=678920","tags":["Patch"],"source":"secalert@redhat.com"},{"url":"http://lists.apple.com/archives/security-announce/2012/May/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/70957","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/43420","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/43573","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT5281","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:098","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/2","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/","tags":["Exploit","Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/46458","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2011/0539","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=678920","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-1005","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}