CVE-2015-7551

HIGH
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

The Fiddle::Handle implementation in ext/fiddle/handle.c in Ruby before 2.0.0-p648, 2.1 before 2.1.8, and 2.2 before 2.2.4, as distributed in Apple OS X before 10.11.4 and other products, mishandles tainting, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted string, related to the DL module and the libffi library. NOTE: this vulnerability exists because of a CVE-2009-5147 regression.

References

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796344

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796551

http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html

http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html

http://www.securityfocus.com/bid/76060

https://access.redhat.com/errata/RHSA-2018:0583

https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a

https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html

https://puppet.com/security/cve/ruby-dec-2015-security-fixes

https://support.apple.com/HT206167

https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/

Details

Source: MITRE

Published: 2016-03-24

Updated: 2018-03-28

Type: CWE-20

Risk Information

CVSS v2

Base Score: 4.6

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

Impact Score: 6.4

Exploitability Score: 3.9

Severity: MEDIUM

CVSS v3

Base Score: 8.4

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

Impact Score: 5.9

Exploitability Score: 2.5

Severity: HIGH

Tenable Plugins

View all (11 total)

IDNameProductFamilySeverity
101974Ubuntu 14.04 LTS / 16.04 LTS / 17.04 : ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities (USN-3365-1)NessusUbuntu Local Security Checks
critical
99753openSUSE Security Update : ruby2.1 (openSUSE-2017-527)NessusSuSE Local Security Checks
critical
99578SUSE SLED12 / SLES12 Security Update : ruby2.1 (SUSE-SU-2017:1067-1)NessusSuSE Local Security Checks
critical
99242SUSE SLES11 Security Update : ruby (SUSE-SU-2017:0948-1)NessusSuSE Local Security Checks
high
99208openSUSE Security Update : ruby2.2 / ruby2.3 (openSUSE-2017-435)NessusSuSE Local Security Checks
critical
9327Mac OS X 10.11.x < 10.11.4 Multiple VulnerabilitiesNessus Network MonitorOperating System Detection
critical
90096Mac OS X 10.11.x < 10.11.4 Multiple VulnerabilitiesNessusMacOS X Local Security Checks
critical
89454Fedora 23 : ruby-2.2.4-47.fc23 (2015-eef21b972e)NessusFedora Local Security Checks
high
89397Fedora 22 : ruby-2.2.4-47.fc22 (2015-c4409eb73a)NessusFedora Local Security Checks
high
87966Amazon Linux AMI : ruby19 / ruby20,ruby21,ruby22 (ALAS-2016-632)NessusAmazon Linux Local Security Checks
high
87610FreeBSD : Ruby -- unsafe tainted string vulnerability (3b50881d-1860-4721-aab1-503290e23f6c)NessusFreeBSD Local Security Checks
high