CVE-2015-7551
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.50%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 8.4 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.50% probability · 41th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- apple/mac os x · ruby-lang/ruby
- Source
- secalert@redhat.com
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/HT206167Vendor Advisory
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/Patch, Vendor Advisory
- 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/HT206167Vendor Advisory
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/Patch, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.