CVE-2021-23374
JSON

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 packageVersionsReported by
ps-visitorbefore unspecifiedCVE List
ps-visitor (npm)up to 0.0.2GitHub Advisory Database
ps-visitor_project ps-visitorNot specifiedNVD

All scores

snyk7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2021-23374 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-v2jv-33gh-xx29 changed 2026-03-13CC-BY-4.0
NVDCVE-2021-23374 changed 2026-06-17Public domain