原始 OSV JSON{
"id": "GHSA-6c3f-p5wp-34mh",
"aliases": [
"CVE-2021-3190"
],
"details": "The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. Ensure to sanitize untrusted user input before passing it to one of the vulnerable functions as a workaround or update async-git to version 1.13.1.",
"summary": "OS Command Injection in async-git",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.2"
}
]
}
],
"package": {
"name": "async-git",
"ecosystem": "npm"
}
}
],
"modified": "2022-05-03T02:56:05Z",
"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-01-29T18:14:00Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3190",
"type": "ADVISORY"
},
{
"url": "https://github.com/omrilotan/async-git/pull/13",
"type": "WEB"
},
{
"url": "https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a",
"type": "WEB"
},
{
"url": "https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a",
"type": "WEB"
},
{
"url": "https://github.com/omrilotan/async-git/pull/14",
"type": "WEB"
},
{
"url": "https://advisory.checkmarx.net/advisory/CX-2021-4772",
"type": "WEB"
},
{
"url": "https://github.com/omrilotan/async-git",
"type": "PACKAGE"
},
{
"url": "https://www.npmjs.com/package/async-git",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-01-26T18:16:00Z",
"github_reviewed_at": "2021-01-27T23:33:04Z"
}
}