CVE-2015-7551 json
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 10y ago modified 4mo ago also EUVD-2015-7465
- cvss
- 8.4
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ruby2.0 Ubuntu 14.04 LTS 2.0.0.484-1ubuntu2.4
ubuntu advisories UBUNTU-CVE-2015-7551
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ruby4.0 hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
- ruby3.3 hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1
red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2018:0583
- ruby2.1 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 2.1.9-15.1
- ruby WebYast 1.3, Studio Onsite 1.3, SLES for SAP 11 SP4 +3 more 1.8.7.p357-0.9.19.1
suse advisories SUSE-SU-2017:1067-1SUSE-SU-2017:0948-1
- ruby2.2 openSUSE Tumbleweed 2.2.5-1.5
opensuse advisories openSUSE-SU-2024:10481-1
Is CVE-2015-7551 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-7551 updated cvss 2.6
ruby: dlopen could open a library with tainted library name
-
Red Hat CloudForms Management Engine 5 ruby193-ruby Red Hat Enterprise Linux 4 ruby Red Hat Enterprise Linux 5 ruby Red Hat Enterprise Linux 6 ruby, ruby-ri, ruby-irb, ruby-libs, ruby-rdoc, ruby-tcltk Red Hat Enterprise Linux 7 ruby, ruby-irb, rubygems, ruby-libs, ruby-tcltk, rubygem-json, +6 more Red Hat Software Collections ruby193-ruby, ruby200-ruby, rh-ruby22-ruby, ruby193-ruby-irb, ruby193-rubygems, ruby200-ruby-irb, +31 moreaffected: no fix planned “Will not fix”
+1 more productsfewer
Red Hat Subscription Asset Manager ruby193-ruby -
Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-libs 3.4.8-31.1.hum1, ruby4.0-libs 4.0.0-33.3.hum1, ruby3.3-libs 3.3.10-23.1.hum1, +6 morefixed: vendor fix RHSA-2026:7305
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby22-ruby-libs 2.2.9-19.el6, rh-ruby22-ruby-tcltk 2.2.9-19.el6, rh-ruby22-rubygems 2.4.5.4-19.el6, rh-ruby22-rubygem-rdoc 4.2.0-19.el6, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby22-ruby-libs 2.2.9-19.el6, rh-ruby22-ruby-tcltk 2.2.9-19.el6, rh-ruby22-rubygems 2.4.5.4-19.el6, rh-ruby22-rubygem-rdoc 4.2.0-19.el6, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby22-ruby-libs 2.2.9-19.el6, rh-ruby22-ruby-tcltk 2.2.9-19.el6, rh-ruby22-rubygems 2.4.5.4-19.el6, rh-ruby22-rubygem-rdoc 4.2.0-19.el6, +8 morefixed: vendor fix RHSA-2018:0583
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more -
Red Hat Hardened Images rubygem3.3-rbs 3.4.0-23.1.hum1, rubygem3.3-rss 0.3.1-23.1.hum1, rubygem3.4-rbs 3.8.0-31.1.hum1, rubygem3.4-rss 0.3.1-31.1.hum1, rubygem4.0-rss 0.3.2-33.3.hum1, rubygem3.3-irb 1.13.1-23.1.hum1, +45 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.4 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
- github.com /ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
-
ruby-lang.org
/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
patch, vendor-advisory
-
lists.apple.com
/archives/security-announce/2016/Mar/msg00004.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:0583
vendor-advisory
-
support.apple.com
/HT206167
vendor-advisory
- people.canonical.com /~ubuntu-security/cve/2015/CVE-2015-7551.html
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=796344
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=796551
- oracle.com /technetwork/topics/security/bulletinapr2016-2952098.html
- puppet.com /security/cve/ruby-dec-2015-security-fixes
-
securityfocus.com
/bid/76060
vdb-entry
Sources
- CVE List CVE-2015-7551
- NVD CVE-2015-7551
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.