CVE-2021-23348

Description

This affects the package portprocesses before 1.0.5. If (attacker-controlled) user input is given to the killProcess 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.

Severity
MEDIUM
CVSS v3
6.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P · source cna
Exploit chance (EPSS)
1.820%
chance of exploitation in the next 30 days
higher than 79.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-03-31Published by the CNA14:25 UTC
  2. 2021-04-06GitHub advisory published (GHSA-vm67-7vmg-66vm)6 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-vm67-7vmg-66vm, affected packages:

PackageVulnerable versionsFixed in
npm portprocessesbefore 1.0.51.0.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
portprocesses_project portprocessesbefore 1.0.5fixed in 1.0.51.0.5

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources