Critical severity9.8NVD Advisory· Published Jun 11, 2021· Updated Jun 17, 2026
CVE-2021-3013
CVE-2021-3013
Description
ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the -z/--search-zip or --pre flag.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ripgrepcrates.io | < 13.0.0 | 13.0.0 |
grep-clicrates.io | < 0.1.6 | 0.1.6 |
Affected products
4- ripgrep/ripgrepdescription
- ghsa-coords3 versions
< 0.1.6+ 2 more
- (no CPE)range: < 0.1.6
- (no CPE)range: < 13.0.0
- (no CPE)range: < 13.0.0-2.2
Patches
Vulnerability mechanics
References
7- github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.mdnvdPatchThird Party AdvisoryWEB
- github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.mdnvdRelease NotesThird Party AdvisoryWEB
- github.com/advisories/GHSA-g4xg-fxmg-vcg5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-3013ghsaADVISORY
- github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.mdghsaWEB
- github.com/BurntSushi/ripgrep/issues/1773ghsaWEB
- rustsec.org/advisories/RUSTSEC-2021-0071.htmlghsaWEB
News mentions
0No linked articles in our index yet.