CVE-2013-2513
CWE-77Published: December 12, 2023· Updated: Jun 16, 2026
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.
Risk Analysis
The flash_tool gem for Ruby is vulnerable to command execution via shell metacharacters in filenames. This allows an attacker to execute arbitrary commands on the system.
This is a remotely exploitable vulnerability with low complexity, though no public exploit is currently known.
Update to a patched version of the flash_tool gem or sanitize all file inputs to prevent shell injection.
Technical Analysis
CVE-2013-2513 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-77)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2013-2513 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts