CVE-2013-2513 flash_tool Gem for Ruby File Download Handling Arbitrary Command Execution
Attackers can execute arbitrary commands via shell metacharacters in downloaded file names using the flash_tool 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-2513?
CVE-2013-2513 is a critical command injection vulnerability in n/a, published on 12 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The flash_tool gem through 0.6.0 for Ruby allows command execution via shell metacharacters in the name of a downloaded file.
Weakness: CWE-77
Which versions are affected by CVE-2013-2513?
2 open source packages ship an affected version, including flash_tool. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
flash_tool RubyGems | All versions to 0.6.0 | None |
flash_tool RubyGems | All versions to 0.6.0 | None |
Products include Milboj Flash Tool.
How do I fix CVE-2013-2513?
No fix has been published for CVE-2013-2513 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-2513 being exploited?
There is no known exploitation of CVE-2013-2513 in the wild and no public exploit code.
Sources
Also known as GHSA-6325-6g32-7p35.