CVE-2012-4464

high

Description

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=862598

http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/

http://www.openwall.com/lists/oss-security/2012/10/03/9

http://www.openwall.com/lists/oss-security/2012/10/02/4

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

http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html

http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html

Details

Source: Mitre, NVD

Published: 2013-04-25

Updated: 2013-08-27

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Severity: High