{"id":"CVE-2021-3013","aliases":["GHSA-g4xg-fxmg-vcg5","RUSTSEC-2021-0071"],"url":"https://o3.security/vulnerability/CVE-2021-3013","summary":"OS command injection in ripgrep","details":"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.","published":"2021-06-11T12:15:12.163Z","modified":"2026-07-08T20:58:31.685366Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"crates.io","name":"ripgrep","fixedVersion":"13.0.0"},{"ecosystem":"crates.io","name":"grep-cli","fixedVersion":"0.1.6"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md"},{"type":"FIX","url":"https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:58:31.685366Z"}}