Permissions, Privileges, and Access Controls in Ruby - CVE-2012-4481
Published: May 2, 2013 / Updated: August 11, 2020
Vulnerability identifier: #VU42854
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-4481
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Ruby
Affected software:
Ruby
Ruby
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to manipulate data.
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.
How to mitigate CVE-2012-4481
Install update from vendor's website.
Sources
- http://rhn.redhat.com/errata/RHSA-2013-0129.html
- http://rhn.redhat.com/errata/RHSA-2013-0612.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2012/10/05/4
- https://bugzilla.redhat.com/show_bug.cgi?id=863484
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294