Skip to content
OpenAdvisories
Unscored CVE-2015-7551 EUVD-2015-7465GHSA-m9xr-x5mq-4fp5

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 …

Published Mar 24, 2016 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ruby2.3 2.3.1-2~16.04.2 USN-3365-1
Ubuntu 14.04 LTS ruby1.9.1 1.9.3.484-2ubuntu1.3 USN-3365-1
Ubuntu 14.04 LTS ruby2.0 2.0.0.484-1ubuntu2.4 USN-3365-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-ruby22-ruby +5 2.2.9-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-bigdecimal 1.2.6-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-io-console 0.4.3-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-json 1.8.1.1-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-minitest 5.4.3-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-power_assert 0.2.2-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-psych 2.0.8.1-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-rake 10.4.2-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-rdoc 4.2.0-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygem-test-unit 3.0.8-19.el6 RHSA-2018:0583
RHEL 3 rh-ruby22-rubygems +1 2.4.5.4-19.el6 RHSA-2018:0583
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 ruby3.3 +5 3.3.10-23.1.hum1 RHSA-2026:7305
Red Hat Hardened Images 1 ruby3.4 +5 3.4.8-31.1.hum1 RHSA-2026:7307
Red Hat Hardened Images 1 ruby4.0 +5 4.0.0-33.3.hum1 RHSA-2026:8838
ReleasePackageFixed inAdvisory
SLES 12 SP2 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES 12 SP1 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES 11 SP4 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE WebYast 1.3 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
SUSE Studio Onsite 1.3 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
SLES for SAP 12 SP2 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES for SAP 12 SP1 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES for SAP 11 SP4 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
SUSE Lifecycle Management Server 1.3 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ruby2.2 2.2.5-1.5 openSUSE-SU-2024:10481-1

Advisories 8

References