All vulnerabilities

Servers and applications

CVE-2012-4464

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.

Severity
Medium 5.0
Published
25 Apr 2013
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 2.0.0-p0
  • Version 2.0
  • Version 2.0.0-rc2
  • Version 2.0.0-rc1
All 10 release lines
  • Version 1.9.3
  • Version 1.9.3-p0
  • Version 1.9.3-p125
  • Version 1.9.3-p194
  • Version 2.0.0-preview1
  • Version 2.0.0-preview2
  • Version 2.0.0-rc1
  • Version 2.0.0-rc2
  • Version 2.0
  • Version 2.0.0-p0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-4464
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-4464