Vulnerability in Ruby-Lang Ruby
CVE-2011-1005
- CVSS v2
- 5.0 Medium
- Public exploits
- None known
- EPSS
- 0.028 · 86.6th percentile
- Published
- 2011-03-02
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Au
- N
Au:N - Confidentiality
- None
C:N - Integrity
- P
I:P - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.028, 86.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 1.8.6, 1.8.6-420, 1.8.7
Weakness classification (CWE)
References
- RHSA-2011:0910 (vendor-advisory)
- [oss-security] 20110221 Re: CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE (mailing-list, Patch)
- MDVSA-2011:098 (vendor-advisory)
- ADV-2011-0539 (vdb-entry)
- RHSA-2011:0909 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- secunia.com/advisories/43573 (third-party-advisory)
- [oss-security] 20110221 CVE request: ruby: FileUtils is vulnerable to symlink race attacks + Exception methods can bypass $SAFE (mailing-list, Patch)
- RHSA-2011:0908 (vendor-advisory)
- osvdb.org/70957 (vdb-entry)