原始 OSV JSON{
"id": "GHSA-g4xg-fxmg-vcg5",
"aliases": [
"CVE-2021-3013"
],
"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.",
"summary": "OS command injection in ripgrep",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "13.0.0"
}
]
}
],
"package": {
"name": "ripgrep",
"ecosystem": "crates.io"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.6"
}
]
}
],
"package": {
"name": "grep-cli",
"ecosystem": "crates.io"
}
}
],
"modified": "2021-09-07T21:16:08Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-08-05T19:31:55Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3013",
"type": "ADVISORY"
},
{
"url": "https://github.com/BurntSushi/ripgrep/issues/1773",
"type": "WEB"
},
{
"url": "https://github.com/BurntSushi/ripgrep",
"type": "PACKAGE"
},
{
"url": "https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md",
"type": "WEB"
},
{
"url": "https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md",
"type": "WEB"
},
{
"url": "https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md#1300-2021-06-12",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0071.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-06-11T12:15:00Z",
"github_reviewed_at": "2021-06-14T19:32:57Z"
}
}