{"id":"CVE-2011-1005","sourceIdentifier":"secalert@redhat.com","published":"2011-03-02T20:00:01.880","lastModified":"2026-06-16T23:28:32.263","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La funcionalidad safe-level de Ruby 1.8.6 hasta la versión 1.8.6-420, 1.8.7 hasta la 1.8.7-330 y 1.8.8dev permite a atacantes, dependiendo del contexto, modificar cadenas de  texto a través del método Exception#to_s method, como se ha demostrado cambiando el pathname previsto."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*","matchCriteriaId":"876B2575-4F81-4A70-9A88-9BEE44649626"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.6-420:*:*:*:*:*:*:*","matchCriteriaId":"6AE63237-91FC-45BD-928F-AA428E2FFD95"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*","matchCriteriaId":"2D86FC99-3521-4E22-8FD3-65CEB05A6342"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*","matchCriteriaId":"3684A343-ABD7-4B80-993C-1F3CC0F983DF"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:*","matchCriteriaId":"3FAFAB6A-3299-4BEE-BDB9-3918DDA5D3DB"}]}]}],"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","source":"secalert@redhat.com","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","source":"secalert@redhat.com","tags":["Patch"]},{"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/","source":"secalert@redhat.com","tags":["Exploit","Patch","Vendor Advisory"]},{"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","source":"secalert@redhat.com","tags":["Patch"]},{"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","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/02/21/5","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"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/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Vendor Advisory"]},{"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","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}