CVE-2016-10193 espeak-ruby allows arbitrary command execution

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands via shell metacharacters in input strings passed to the espeak-ruby gem methods.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-10193?

CVE-2016-10193 is a critical command injection vulnerability in n/a, published on 3 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The espeak-ruby gem before 1.0.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a string to the speak, save, bytes or bytes_wav method in lib/espeak/speech.rb.

Weakness: CWE-284

Which versions are affected by CVE-2016-10193?

2 open source packages ship an affected version, including espeak-ruby. It affects 1 product.

PackageAffectedFixed in
espeak-ruby RubyGemsAll versions1.0.3
espeak-ruby RubyGemsAll versions1.0.3

Products include Espeak-Ruby Project Espeak-Ruby.

How do I fix CVE-2016-10193?

Upgrade espeak-ruby to 1.0.3 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2016-10193 being exploited?

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

Sources

Also known as GHSA-4jm3-pfpf-h54p.

Is CVE-2016-10193 in your software?

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

Check your SBOMs for free