ADVISORIES

GitHub Advisory Database

GHSA-g4xg-fxmg-vcg5

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.

Affected packages

EcosystemPackageAffected versions
crates.ioripgrep
All versions before 13.0.0 (fixed in 13.0.0)
crates.iogrep-cli
All versions before 0.1.6 (fixed in 0.1.6)

References