7.3high
Arbitrary Command Injection
- Severity
- 7.3high CVSS:3.1 by snyk
- Exploit likelihood
- 1.34% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-v2jv-33gh-xx29
Description
This affects all versions of package ps-visitor. If attacker-controlled user input is given to the kill 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ps-visitor | before unspecified | CVE List |
| ps-visitor (npm) | up to 0.0.2 | GitHub Advisory Database |
| ps-visitor_project ps-visitor | Not specified | NVD |
All scores
| snyk | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
This affects all versions of package ps-visitor. If attacker-controlled user input is given to the kill 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.
GitHub Advisory Database
This affects all versions up to and including version 0.0.2 of package ps-visitor. If attacker-controlled user input is given to the kill 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.
NVD (es)
Esto afecta a todas las versiones del paquete ps-visitor. Si se proporciona una entrada de usuario controlada por el atacante para la función kill, es posible para un atacante ejecutar comandos arbitrarios. Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23374 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v2jv-33gh-xx29 changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2021-23374 changed 2026-06-17 | Public domain |