{"id":"CVE-2021-3013","published":"2021-06-11T11:19:37Z","modified":"2024-08-03T16:45:50Z","title":"ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01934,"percentile":0.80555,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.11}]},"affected":[{"ecosystem":"crates.io","package":"ripgrep","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-g4xg-fxmg-vcg5"],"provenance":"source"},{"ecosystem":"crates.io","package":"grep-cli","vulnerableRanges":["<0.1.6",">=0.0.0-0, <0.1.6"],"patched":["0.1.6"],"from":["GHSA-g4xg-fxmg-vcg5","RUSTSEC-2021-0071"],"provenance":"source"}],"summary":{"text":"The flaw lies in ripgrep, the command-line search tool, in versions before 13 on Windows. Using the -z/--search-zip or --pre flag causes it to execute arbitrary programs from the current working directory. An attacker who can get a user to run ripgrep with one of those flags from a directory the attacker controls could trigger execution of a program planted there.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:30Z"},"euvd":{"id":"EUVD-2021-1713","exploited":false,"provenance":"source"}}