Description
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.
Remediation
References
Related Vulnerabilities
Moodle Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2009-4297)
Drupal Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2009-2372)
OpenSSL Other Vulnerability (CVE-2002-1568)
Magento Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2020-9591)
WordPress Plugin Slideshow Gallery LITE Arbitrary File Upload (1.4.6)