Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc0eGctZnhtZy12Y2c1

OS command injection in ripgrep

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.

Permalink: https://github.com/advisories/GHSA-g4xg-fxmg-vcg5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc0eGctZnhtZy12Y2c1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 3 years ago
Updated: almost 2 years ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-g4xg-fxmg-vcg5, CVE-2021-3013
References: Repository: https://github.com/BurntSushi/ripgrep
Blast Radius: 22.4

Affected Packages

cargo:grep-cli
Dependent packages: 27
Dependent repositories: 193
Downloads: 2,633,056 total
Affected Version Ranges: < 0.1.6
Fixed in: 0.1.6
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5
All unaffected versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11
cargo:ripgrep
Dependent packages: 0
Dependent repositories: 1
Downloads: 844,468 total
Affected Version Ranges: < 13.0.0
Fixed in: 13.0.0
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.9.0, 0.10.0, 11.0.0, 11.0.1, 11.0.2, 12.0.0, 12.0.1, 12.1.0, 12.1.1
All unaffected versions: 13.0.0, 14.0.0, 14.0.1, 14.0.2, 14.0.3, 14.1.0, 14.1.1