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,...
High CVSS 8.4
- CVE id
- CVE-2015-7551
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
<= 2.0.0-p647 | after 2.0.0-p647 |
How to fix it
Upgrade Ruby to a release newer than 2.0.0-p647.
ruby --version
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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
- CVE-2015-7551 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2015-7551
- Web: https://access.redhat.com/errata/RHSA-2018:0583
- Web: https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
- Web: https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
- Web: https://puppet.com/security/cve/ruby-dec-2015-security-fixes
- Web: https://support.apple.com/HT206167
- Web: https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
- Web: https://access.redhat.com/errata/RHSA-2018:0583
- Web: https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
- Web: https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
- Web: https://puppet.com/security/cve/ruby-dec-2015-security-fixes
- Web: https://support.apple.com/HT206167
- Web: https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.