CVE-2011-1005
publishedRuby: Untrusted codes able to modify arbitrary strings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Oracle Linux | 6 | rubyi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Red Hat Enterprise Linux | RHEL-4 | irbi386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Oracle Linux | 6 | rubyx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-develi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-develx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-docsi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-docsx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | ruby-irbi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-irbx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-libsi686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-libsx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rdoci686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rdocx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rii686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-rix86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-statici686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-staticx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-tcltki686 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Oracle Linux | 6 | ruby-tcltkx86_64 | Advisory build | 0:1.8.7.299-7.el6_1.1 | ELSA-2011-0910 |
| Red Hat Enterprise Linux | RHEL-4 | irbia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | irbppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | irbs390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | irbs390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | irbx86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubyi386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubyia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubyppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubys390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubys390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubysrc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | rubyx86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfoi386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfoia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfoppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfoppc64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfos390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfos390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-debuginfox86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-develi386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-develia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-develppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-devels390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-devels390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-develx86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-docsi386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-docsia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-docsppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-docss390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-docss390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-docsx86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libsi386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libsia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libsppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libsppc64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libss390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libss390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-libsx86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-modei386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-modeia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-modeppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-modes390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-modes390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-modex86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-tcltki386 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-tcltkia64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-tcltkppc | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-tcltks390 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-tcltks390x | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-4 | ruby-tcltkx86_64 | Advisory build | 1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat Enterprise Linux | RHEL-5 | rubyi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubyia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubyppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubys390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubysrc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | rubyx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfoppc64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfos390 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfos390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-debuginfox86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develppc64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-devels390 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-devels390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-develx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docss390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-docsx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbia64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbppc | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbs390x | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-irbx86_64 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
| Red Hat Enterprise Linux | RHEL-5 | ruby-libsi386 | Advisory build | 1.8.5-19.el5_6.1 | RHSA-2011:0909 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
18- APPLE-SA-2012-05-09-1 http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- FEDORA-2011-1876 http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html
- FEDORA-2011-1913 http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html
- 70957 http://osvdb.org/70957
- 43420 http://secunia.com/advisories/43420
- 43573 http://secunia.com/advisories/43573
- http://support.apple.com/kb/HT5281
- MDVSA-2011:097 http://www.mandriva.com/security/advisories?name=MDVSA-2011:097
- MDVSA-2011:098 http://www.mandriva.com/security/advisories?name=MDVSA-2011:098
- [oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE http://www.openwall.com/lists/oss-security/2011/02/21/2
- [oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE http://www.openwall.com/lists/oss-security/2011/02/21/5
- RHSA-2011:0908 http://www.redhat.com/support/errata/RHSA-2011-0908.html
- RHSA-2011:0909 http://www.redhat.com/support/errata/RHSA-2011-0909.html
- RHSA-2011:0910 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/
- 46458 http://www.securityfocus.com/bid/46458
- ADV-2011-0539 http://www.vupen.com/english/advisories/2011/0539
- https://bugzilla.redhat.com/show_bug.cgi?id=678920
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6d0df410391017048d35ea833c48f73ef3fed9ec453c9d972d26bee3692ee56a
- Ingested
- 23 Sep 2026, 07:38:58 UTC
- Source record
- Official CVE record