Live threats

All CVEs / Ruby-lang

CVE-2012-4464Ruby-lang Ruby

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Apr 25, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N

What happens

Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the (1) exc_to_s or (2) name_err_to_s API function, which marks the string as tainted, a different vulnerability than CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005 regression.

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.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby2.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0

Official sources

References

Links published by the sources. Open them with care.