CVE-2015-7551 Code injection in n/a

High 8.4 Published Updated

Attackers can execute arbitrary code or crash applications via crafted strings due to improper taint handling in Ruby's Fiddle library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2015-7551?

CVE-2015-7551 is a high-severity code injection vulnerability in Apple Mac Os X, published on 24 Mar 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2015-7551?

It affects 2 products.

Products include Apple Mac Os X, Ruby-Lang Ruby.

How do I fix CVE-2015-7551?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2015-7551 being exploited?

There is no known exploitation of CVE-2015-7551 in the wild and no public exploit code.

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-m9xr-x5mq-4fp5, MGASA-2016-0007, UBUNTU-CVE-2015-7551.

Is CVE-2015-7551 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free