Permissions, Privileges, and Access Controls in Ruby - CVE-2011-1005

 

Permissions, Privileges, and Access Controls in Ruby - CVE-2011-1005

Published: March 2, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45263
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-2011-1005
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ruby
Affected software:
Ruby

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.


How to mitigate CVE-2011-1005

Install update from vendor's website.

Sources