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:44Z
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
{
    "cwe_ids":  [
        "CWE-78"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-06-14T19:32:57Z",
    "nvd_published_at":  "2021-06-11T12:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

crates.io / ripgrep

Package

Name
ripgrep
View open source insights on deps.dev
Purl
pkg:cargo/ripgrep

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-g4xg-fxmg-vcg5/GHSA-g4xg-fxmg-vcg5.json"

crates.io / grep-cli

Package

Name
grep-cli
View open source insights on deps.dev
Purl
pkg:cargo/grep-cli

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-g4xg-fxmg-vcg5/GHSA-g4xg-fxmg-vcg5.json"