High
Security advisory
This affects the package killport before 1.0.2. 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. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23360
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
This affects the package killport before 1.0.2. 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. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
osv:CVE-2021-23360
Complete source record
{
"id": "7f5ff31b579c762606d2d83912a224aa69a53f2cab184e5ffba16a68511eb917",
"url": "https://osv.dev/vulnerability/CVE-2021-23360",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23360",
"summary": "This affects the package killport before 1.0.2. 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. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.",
"evidence": "osv:CVE-2021-23360",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-23360",
"aliases": [
"CVE-2021-23360",
"GHSA-fc42-h7q4-qp8h",
"SNYK-JS-KILLPORT-1078535"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ssnau/killport",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bec8e371f170a12e11cd222ffc7a6e1ae9942638"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "bec8e371f170a12e11cd222ffc7a6e1ae9942638"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23360.json"
}
}
],
"modified": "2026-10-20T10:54:32.105051666Z",
"provider": "osv",
"references": [
"https://github.com/ssnau/killport/blob/5268f23ea8f152e47182b263d8f7ef20c12a9f28/index.js%23L9",
"https://github.com/ssnau/killport/commit/bec8e371f170a12e11cd222ffc7a6e1ae9942638",
"https://snyk.io/vuln/SNYK-JS-KILLPORT-1078535"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:killport_project:killport:*:*:*:*:*:node.js:*:*"
],
"vendor_product": "killport_project:killport",
"extracted_events": [
{
"range": [
{
"fixed": "1.0.2"
}
],
"source": "CPE_RANGE"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "1.0.2"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-23360",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385502,
"published_at": "2021-03-21T16:15:12.72+00:00"
}