~ / search / GHSA-g4xg-fxmg-vcg5

GHSA-g4xg-fxmg-vcg5

OS command injection in ripgrep

Source: GitHub Advisory Database (reviewed) Critical CVE-2021-3013

Packages

EcosystemPackageAffectedFixed in
crates.io ripgrep < 13.0.0 13.0.0
crates.io grep-cli < 0.1.6 0.1.6

Details

As written in the advisory (Markdown source, shown as plain 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.

References

External links from the advisory. They lead to third-party sites.