Back
CVE-2011-1005
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…
Medium5.0EPSS 2.8%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.8% · top 14% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (18)
- RHSA-2011:0910 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- MDVSA-2011:098 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- ADV-2011-0539 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- RHSA-2011:0909 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=678920 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 43573 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2011:0908 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 70957 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- FEDORA-2011-1876 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2011-1913 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 46458 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://support.apple.com/kb/HT5281 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2011:097 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- APPLE-SA-2012-05-09-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 43420 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.ruby-lang.org/en/news/2011/02/18/exception-methods-can-bypass-safe/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2011-1005)Record last updated .