Permissions, Privileges, and Access Controls in Ruby - CVE-2012-4481

 

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: 6.9 [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]
CVE-ID: CVE-2012-4481
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Ruby
Amazon Linux AMI

How to mitigate CVE-2012-4481

Install update from vendor's website.


External References

Related Security Bulletins