CVE-2020-7785: node-ps - Command Injection
- Cve: CVE-2020-7785
- Name: node-ps - Command Injection
- Description: This affects all versions of package node-ps. The injection point is located in line 72 in lib/index.js.
- Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
- Remediation: Update to the latest version of node-ps that addresses this vulnerability or apply patches to sanitize input at line 72.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02502
- Epss percentile: 0.85123
- Assignee: [email protected]
- Published at: 2021-02-08T19:15:14Z
- Age in days: 2115
- Modified at: 2026-06-17T03:25:26Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7785
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, projects total, projects, 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://snyk.io/vuln/SNYK-JS-NODEPS-1048335 | nvd | 2021-02-08 |
References
| Url | Source | Tags |
|---|---|---|
| https://snyk.io/vuln/SNYK-JS-NODEPS-1048335 | nvd | Exploit, Third Party Advisory |
| https://www.npmjs.com/package/node-ps | nvd | Product, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| node-ps_project:node-ps | all versions | no | nvd | /v1/products/node-ps_project/node-ps |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-02-08
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts