CVE-2013-1948 md2pdf allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a filename
Attackers can execute arbitrary commands via shell metacharacters in filenames processed by the md2pdf Ruby gem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2013-1948?
CVE-2013-1948 is a critical command injection vulnerability in n/a, published on 25 Apr 2013.
Official description
converter.rb in the md2pdf gem 0.0.1 for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a filename.
Which versions are affected by CVE-2013-1948?
2 open source packages ship an affected version, including md2pdf. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
md2pdf RubyGems | All versions to 0.0.1 | None |
md2pdf RubyGems | All versions to 0.0.1 | None |
Products include Rob Westgeest Md2pdf.
How do I fix CVE-2013-1948?
No fix has been published for CVE-2013-1948 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-1948 being exploited?
There is no known exploitation of CVE-2013-1948 in the wild and no public exploit code.
Sources
Also known as GHSA-99ch-8mvp-g7m5.