CVE-2012-4481: Ruby-Lang Ruby

Medium severity, CVSS 4.3. EPSS: 1.9% chance of exploitation in the next 30 days.

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 products

Published 2013-05-02. Last modified 2026-06-16.