CVE-2013-1911 ldoce Gem Arbitrary Command Execution
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.
| Package | Affected | Fixed in |
|---|---|---|
ldoce RubyGems | All versions to 0.0.2 | None |
ldoce RubyGems | All versions to 0.0.2 | None |
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.