CVE-2013-1911 ldoce Gem Arbitrary Command Execution

Medium 6.8 Published Updated

Remote attackers can execute arbitrary commands via shell metacharacters in mp3 URLs or filenames in the ldoce Ruby gem.

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

What is CVE-2013-1911?

CVE-2013-1911 is a medium-severity command injection vulnerability in n/a, published on 3 Apr 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

lib/ldoce/word.rb in the ldoce 0.0.2 gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in (1) an mp3 URL or (2) file name.

Weakness: CWE-20

Which versions are affected by CVE-2013-1911?

2 open source packages ship an affected version, including ldoce. It affects 1 product.

PackageAffectedFixed in
ldoce RubyGemsAll versions to 0.0.2None
ldoce RubyGemsAll versions to 0.0.2None

Products include Mark Burns Ldoce.

How do I fix CVE-2013-1911?

No fix has been published for CVE-2013-1911 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2013-1911 being exploited?

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

Sources

Also known as GHSA-g266-3crh-h7gj.

Is CVE-2013-1911 in your software?

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

Check your SBOMs for free