原始 OSV JSON
{
"id": "GHSA-vm67-7vmg-66vm",
"aliases": [
"CVE-2021-23348"
],
"details": "### Impact\n\nAn Arbitrary Command Injection vulnerability was reported in `portprocesses` impacting versions <= 1.0.4.\n\n### Example (Proof of Concept)\n\nThe following example demonstrates the vulnerability and will run `touch success` therefore creating a file named `success`.\n\n```js\nconst portprocesses = require(\"portprocesses\");\n\nportprocesses.killProcess(\"$(touch success)\");\n```",
"summary": "Arbitrary Command Injection in portprocesses",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.5"
}
]
}
],
"package": {
"name": "portprocesses",
"ecosystem": "npm"
}
}
],
"modified": "2021-03-31T17:50:32Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
}
],
"published": "2021-04-06T17:24:50Z",
"references": [
{
"url": "https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23348",
"type": "ADVISORY"
},
{
"url": "https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1",
"type": "WEB"
},
{
"url": "https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-77",
"CWE-78"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-03-31T15:15:00Z",
"github_reviewed_at": "2021-03-31T17:50:32Z"
}
}