CVE-2021-23348 json
Arbitrary Command Injection
published 2021-03-31 5 y ago modified 2026-09-10 1 mo ago also GHSA-vm67-7vmg-66vm , EUVD-2021-0881
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P |
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | portprocesses | <1.0.5 |
1.0.5 |
Affected products
- n/a portprocesses
Classification
References
-
github.com
/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-PORTPROCESSES-1078536
web, exploit, third-party-advisory
-
github.com
/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm
web, exploit, third-party-advisory
-
github.com
/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2021-23348
advisory
Sources
- CVE List CVE-2021-23348
- GitHub Advisory GHSA-vm67-7vmg-66vm
- NVD CVE-2021-23348
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.