GitHub Advisoryadvisory · crates.io

GHSA-g4xg-fxmg-vcg5 OS command injection in ripgrep

CRITICAL Published 2021-08-05 Modified 2021-09-07 Official page ↗
Aliases
CVE-2021-3013
Ecosystem
crates.io
Packages
ripgrep, grep-cli
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2021-06-14

Affected packages

• crates.io ripgrep: < 13.0.0 → fixed in 13.0.0 • crates.io grep-cli: < 0.1.6 → fixed in 0.1.6

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.

Related

Alias · CVE (1)

  • CVE-2021-3013 ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the… vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References