Live threats

All CVEs / Ruby-lang

CVE-2012-4481Ruby-lang Ruby

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
May 2, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8.7

Official sources

References

Links published by the sources. Open them with care.