CVE-2011-1005
MEDIUM 5.0CVSS 2.0The 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
- 2 Mar 2011
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:* |
= 1.8.6 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.6-420:*:*:*:*:*:*:* |
= 1.8.6-420 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:* |
= 1.8.7 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:* |
= 1.8.7-330 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.8.8:dev:*:*:*:*:*:* |
= 1.8.8 |
References
- 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
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 2 Mar 2011)