CVE-2021-23348: portprocesses - Command Injection
- Cve: CVE-2021-23348
- Name: portprocesses - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
- Remediation: Update to version 1.0.5 or later to fix input sanitization issues.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0182
- Epss percentile: 0.79304
- Assignee: [email protected]
- Published at: 2021-03-31T15:15:15Z
- Age in days: 2064
- Modified at: 2026-06-17T03:38:36Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-23348
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm | nvd | 2021-03-31 |
| https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 | nvd | 2021-03-31 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1 | Patch, Third Party Advisory |
| https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm | Exploit, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| portprocesses_project:portprocesses | < 1.0.5 | no | nvd | /v1/products/portprocesses_project/portprocesses |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rrainn/PortProcesses | commit, security_advisory | yes | /v1/repositories/rrainn/PortProcesses |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-03-31
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts