Ruby: Untrusted codes able to modify arbitrary strings
Published Mar 2, 2011
5.0
MEDIUMCVSS 2.0
EPSS 2.77%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 4
ruby-0:1.8.1-16.el4
Fixed · RHSA-2011:0908
Red Hat Enterprise Linux 5
ruby-0:1.8.5-19.el5_6.1
Fixed · RHSA-2011:0909
Red Hat Enterprise Linux 6
ruby-0:1.8.7.299-7.el6_1.1
Fixed · RHSA-2011:0910
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | ruby-0:1.8.1-16.el4 | Fixed | RHSA-2011:0908 |
| Red Hat Enterprise Linux 5 | ruby-0:1.8.5-19.el5_6.1 | Fixed | RHSA-2011:0909 |
| Red Hat Enterprise Linux 6 | ruby-0:1.8.7.299-7.el6_1.1 | Fixed | RHSA-2011:0910 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.77% (0.02772) | 85.81th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.77% (0.02772) | 84.37th | v5 (v2026.06.15) |
| Feb 14, 2026 | 2.85% (0.02854) | 85.92th | v4 (v2025.03.14) |
| Dec 7, 2025 | 5.00% (0.04997) | 89.28th | v4 (v2025.03.14) |
| Aug 14, 2025 | 3.20% (0.03202) | 86.51th | v4 (v2025.03.14) |
| May 30, 2025 | 4.51% (0.04511) | 88.56th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.96% (0.01959) | 81.86th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.71% (0.04712) | 81.91th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.96% (0.01959) | 82.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.08% (0.01079) | 84.93th | v3 (v2023.03.01) |
| Apr 10, 2024 | 1.08% (0.01079) | 84.05th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.08% (0.01079) | 82.02th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (21)
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html vendor-advisoryx_refsource_APPLE
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html vendor-advisoryx_refsource_FEDORA
- http://osvdb.org/70957 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/43420 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/43573 third-party-advisoryx_refsource_SECUNIA
- http://support.apple.com/kb/HT5281 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:097 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:098 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2011/02/21/2 mailing-listx_refsource_MLISTPatch
- http://www.openwall.com/lists/oss-security/2011/02/21/5 mailing-listx_refsource_MLISTPatch
- http://www.redhat.com/support/errata/RHSA-2011-0908.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2011-0909.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2011-0910.html vendor-advisoryx_refsource_REDHAT
- http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/ x_refsource_CONFIRMExploitPatchVendor Advisory
- http://www.securityfocus.com/bid/46458 vdb-entryx_refsource_BID
- http://www.vupen.com/english/advisories/2011/0539 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2011-1005 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=678920 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2011-1005
- https://www.cve.org/CVERecord?id=CVE-2011-1005
Change history (0)
No recorded changes yet.