Skip to content

OS command injection in ripgrep

Critical severity GitHub Reviewed Published Aug 5, 2021 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

cargo grep-cli (Rust)

Affected versions

< 0.1.6

Patched versions

0.1.6
cargo ripgrep (Rust)
< 13.0.0
13.0.0
Published by the National Vulnerability Database Jun 11, 2021
Reviewed Jun 14, 2021
Published to the GitHub Advisory Database Aug 5, 2021
Last updated Feb 3, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-3013

GHSA ID

GHSA-g4xg-fxmg-vcg5

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.