{"cve":"CVE-2021-3013","nvd":{"published":"2021-06-11T12:15:12.163","modified":"2026-06-17T04:04:33.780","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":[],"references":["https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md","https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md","https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md","https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md"],"products":["ripgrep_project:ripgrep"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-3013","score":0.01934,"percentile":0.80048,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g4xg-fxmg-vcg5","url":"https://osv.dev/vulnerability/GHSA-g4xg-fxmg-vcg5","summary":"OS command injection in ripgrep","modified":"2023-11-08T04:05:44.745722Z","packages":[{"ecosystem":"crates.io","name":"ripgrep","purl":"pkg:cargo/ripgrep","ranges":["<13.0.0"],"fixed":["13.0.0"]},{"ecosystem":"crates.io","name":"grep-cli","purl":"pkg:cargo/grep-cli","ranges":["<0.1.6"],"fixed":["0.1.6"]}]},{"id":"RUSTSEC-2021-0071","url":"https://osv.dev/vulnerability/RUSTSEC-2021-0071","summary":"`grep-cli` may run arbitrary executables on Windows","modified":"2023-11-08T04:05:44.745722Z","packages":[{"ecosystem":"crates.io","name":"grep-cli","purl":"pkg:cargo/grep-cli","ranges":[">=0.0.0-0 <0.1.6"],"fixed":["0.1.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}