Vulnerability Name:

CVE-2012-4464 (CCN-83845)

Assigned:2012-08-21
Published:2013-02-28
Updated:2013-08-27
Summary: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.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2012-4464

Source: FEDORA
Type: UNKNOWN
FEDORA-2012-15376

Source: FEDORA
Type: UNKNOWN
FEDORA-2012-15395

Source: MISC
Type: UNKNOWN
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068

Source: MLIST
Type: UNKNOWN
[oss-security] 20121002 CVE Request: Ruby safe level bypasses

Source: MLIST
Type: UNKNOWN
[oss-security] 20121003 Re: CVE Request: Ruby safe level bypasses

Source: CCN
Type: Ruby Web Site
Ruby

Source: CONFIRM
Type: Vendor Advisory
http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/

Source: CCN
Type: Red Hat Bugzilla Bug 862598
CVE-2012-4464 ruby 1.9.3: Possibility to bypass Ruby's $SAFE (level 4) semantics

Source: CONFIRM
Type: UNKNOWN
https://bugzilla.redhat.com/show_bug.cgi?id=862598

Source: XF
Type: UNKNOWN
ruby-cve20124464-sec-bypass(83845)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2012-4464

Vulnerable Configuration:Configuration 1:
  • cpe:/a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:17422
    P
    USN-1602-1 -- ruby1.9.1 vulnerabilities
    2014-06-30
    oval:org.mitre.oval:def:18024
    P
    USN-1614-1 -- ruby1.9.1 vulnerabilities
    2014-06-30
    oval:org.opensuse.security:def:20124464
    V
    CVE-2012-4464
    2014-01-28
    oval:com.ubuntu.precise:def:20124464000
    V
    CVE-2012-4464 on Ubuntu 12.04 LTS (precise) - medium.
    2013-04-25
    BACK
    ruby-lang ruby 1.9.3
    ruby-lang ruby 1.9.3 p0
    ruby-lang ruby 1.9.3 p125
    ruby-lang ruby 1.9.3 p194
    ruby-lang ruby 2.0
    ruby-lang ruby 2.0.0
    ruby-lang ruby 2.0.0 p0
    ruby-lang ruby 2.0.0 preview1
    ruby-lang ruby 2.0.0 preview2
    ruby-lang ruby 2.0.0 rc1
    ruby-lang ruby 2.0.0 rc2
    ruby-lang ruby 1.9.3
    ruby-lang ruby 1.9.3 p0
    ruby-lang ruby 1.9.3 p125
    ruby-lang ruby 2.0.0
    ruby-lang ruby 2.0.0 rc1
    ruby-lang ruby 2.0.0 rc2
    ruby-lang ruby 2.0
    ruby-lang ruby 1.9.3 p194
    ruby-lang ruby 2.0.0 p0
    ruby-lang ruby 2.0.0 preview1
    ruby-lang ruby 2.0.0 preview2