Security mailing lists by PureSourceCode

CVE-2021-23363

HIGH 8.8CVSS 3.1

Arbitrary code execution in kill-by-port

This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, 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
30 Mar 2021
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-77CWE-78
Also known as
GHSA-mm4f-47ch-f7hxSNYK-JS-KILLBYPORT-1078531
Sources
NVDJSONOSV GHSA-mm4f-47ch-f7hxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD kill-by-port_project kill-by-port
cpe:2.3:a:kill-by-port_project:kill-by-port:*:*:*:*:*:node.js:*:*
< 0.0.2 0.0.2
OSV npm kill-by-port < 0.0.2 0.0.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 30 Mar 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.