GHSA-g4xg-fxmg-vcg5

Suggest an improvement
Source
https://github.com/advisories/GHSA-g4xg-fxmg-vcg5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-g4xg-fxmg-vcg5/GHSA-g4xg-fxmg-vcg5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g4xg-fxmg-vcg5
Aliases
Published
2021-08-05T19:31:55Z
Modified
2023-11-08T04:05:44.745722Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS command injection in ripgrep
Details

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.

Database specific
{
    "nvd_published_at": "2021-06-11T12:15:00Z",
    "github_reviewed_at": "2021-06-14T19:32:57Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

crates.io / ripgrep

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
13.0.0

crates.io / grep-cli

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.6

Ecosystem specific

{
    "affected_functions": [
        "grep_cli::DecompressionReader::new"
    ]
}