Security mailing lists by PureSourceCode

CVE-2021-23359

HIGH 8.8CVSS 3.1

Code injection in port-killer

This affects all versions of package port-killer. 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.

Published
18 Mar 2021
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-20CWE-77CWE-78
Also known as
GHSA-2548-q746-x5x6
Sources
NVDJSONOSV GHSA-2548-q746-x5x6JSON

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 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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 port-killer_project port-killer
cpe:2.3:a:port-killer_project:port-killer:*:*:*:*:*:node.js:*:*
all versions
OSV npm port-killer <= 1.0.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Mar 2021)
  • 25 Nov 2026 20:10 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.