CVE-2021-23379
CRITICAL 9.8CVSS 3.1Command injection in portkiller
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.
- Published
- 18 Apr 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-r6fw-8m27-43c9
- Sources
- NVDJSONOSV GHSA-r6fw-8m27-43c9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | portkiller_project | portkillercpe:2.3:a:portkiller_project:portkiller:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | portkiller | <= 1.0.3 |
References
- https://github.com/indatawetrust/portkiller/blob/f1f1c5076d9c5d60e8dd3930e98d665d8191aa7a/index.js%23L10 · Broken Link, WEB
- https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078537 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23379 · ADVISORY
- https://github.com/indatawetrust/portkiller · PACKAGE
- https://www.npmjs.com/package/portkiller · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Apr 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 May 2021)