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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | rust-ripgrep | No fix yet | — |
| Ubuntu 20.04 LTS | rust-ripgrep | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ripgrep | 13.0.0-2.2 | openSUSE-SU-2024:11300-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | grep-cli | < 0.1.6 | 0.1.6 | GHSA-g4xg-fxmg-vcg5 |
| crates.io | grep-cli | >= 0.0.0-0, < 0.1.6 | 0.1.6 | RUSTSEC-2021-0071 |
| crates.io | ripgrep | < 13.0.0 | 13.0.0 | GHSA-g4xg-fxmg-vcg5 |
Advisories 1
- openSUSE-SU-2024:11300-1 ripgrep-13.0.0-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026