# CVE-2021-23348: Arbitrary Command Injection

- Severity: Medium 6.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.82%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-03-31T14:25:17.671Z
- Modified: 2026-09-10T03:49:04.006Z
- Also known as: GHSA-vm67-7vmg-66vm, SNYK-JS-PORTPROCESSES-1078536
- Weaknesses: CWE-77, CWE-78
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- portprocesses: from unspecified before 1.0.5
- portprocesses (npm): before 1.0.5
- portprocesses_project portprocesses: before 1.0.5

## Every score

- snyk: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536> (exploit, third-party-advisory, web)
- <https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm> (exploit, third-party-advisory, web)
- <https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23> (broken-link, web)
- <https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23348> (advisory)

## Sources

- CVE List: [CVE-2021-23348](https://www.cve.org/CVERecord?id=CVE-2021-23348), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-vm67-7vmg-66vm](https://github.com/advisories/GHSA-vm67-7vmg-66vm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-23348](https://nvd.nist.gov/vuln/detail/CVE-2021-23348), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23348 · Whole record: https://cve.day/CVE-2021-23348.json · Rebuilt by cve.day 2026-11-25T22:58:00.520Z
