ADVISORIES

Vulnerability

CVE-2021-3013

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.

4 advisories report this vulnerability, across 3 ecosystems.

Critical severity All crates.io 2Ubuntu 1openSUSE 1

Advisories

  • GHSA-g4xg-fxmg-vcg5

    OS command injection in ripgrep

    Critical CVE-2021-3013 crates.io Updated 8 November 2023
  • RUSTSEC-2021-0071

    `grep-cli` may run arbitrary executables on Windows

    CVE-2021-3013 crates.io Updated 8 November 2023
  • UBUNTU-CVE-2021-3013

    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.

    CVE-2021-3013 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:11300-1

    ripgrep-13.0.0-2.2 on GA media

    CVE-2021-3013 openSUSE Updated 4 February 2026

References