Vulnerability in Ruby-Lang Ruby
CVE-2012-4481
The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strings via the NameError#to_s method when operating on Ruby objects. NOTE: this issue is due to an incomplete fix for CVE-2011-1005.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.019, 80.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 1.8.7
Weakness classification (CWE)
References
- RHSA-2013:0612 (vendor-advisory)
- [oss-security] 20121005 Re: CVE Request -- ruby (1.8.x with patched CVE-2011-1005): Incomplete fix for CVE-2011-1005 for NameError#to_s method when used on objects (mailing-list)
- MDVSA-2013:124 (vendor-advisory)
- RHSA-2013:0129 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi
- wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294