原始 OSV JSON{
"id": "GHSA-r6fw-8m27-43c9",
"aliases": [
"CVE-2021-23379"
],
"details": "This affects all versions of package portkiller. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.",
"summary": "Command injection in portkiller",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.0.3"
}
]
}
],
"package": {
"name": "portkiller",
"ecosystem": "npm"
}
}
],
"modified": "2022-07-05T18:02:15Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"published": "2021-05-06T15:53:20Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23379",
"type": "ADVISORY"
},
{
"url": "https://github.com/indatawetrust/portkiller",
"type": "PACKAGE"
},
{
"url": "https://github.com/indatawetrust/portkiller/blob/f1f1c5076d9c5d60e8dd3930e98d665d8191aa7a/index.js%23L10",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078537",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/package/portkiller",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-77"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-04-18T19:15:00Z",
"github_reviewed_at": "2021-04-19T21:19:04Z"
}
}