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…

published June 11, 2021

CVSS
—
EPSS
2%
Percentile
79.9
In the wild
Unconfirmed
What it is

⚠️ Watch out, because a crafty command can open a door to arbitrary program execution! With ripgrep on Windows, just passing the right flags can lead to unexpected surprises. 🔥 Think of it like a restaurant chef getting an order for a mystery dish without checking the recipe. If the chef isn’t careful, they might just whip up something that’s a real disaster instead! An attacker could exploit this vulnerability to run any program from the current working directory, leading to a potential takeover of the system. This could absolutely devastate your environment if sensitive files are executed or modified without consent!

Put simply

Think of it like a restaurant chef getting an order for a mystery dish without checking the recipe. If the chef isn’t careful, they might just whip up something that’s a real disaster instead! This vulnerability in ripgrep prior to version 13 allows attackers to trigger the execution of arbitrary programs via the command line, particularly using the -z/--search-zip or --pre flag without proper validation.

What to do

An attacker could exploit this vulnerability to run any program from the current working directory, leading to a potential takeover of the system. This could absolutely devastate your environment if sensitive files are executed or modified without consent! To mitigate this issue, update ripgrep to the latest version (13 or above) as soon as possible. Additionally, review your command flags to ensure they adhere to best practices and avoid any unintended consequences. 🛡️ You've got this! Stay proactive with updates, and you'll keep your system secure. 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01934 · 79.9th percentile
Published
2021-06-11T11:19Z
EPSS history
Timeline
  • 11 JUN 11:19Z
    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…
    cvelistv5