GitHub Advisoryadvisory · npm

GHSA-v2jv-33gh-xx29 Command Injection in ps-visitor

CRITICAL Published 2021-05-07 Modified 2022-07-05 Official page ↗
Aliases
CVE-2021-23374
Ecosystem
npm
Packages
ps-visitor
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77
Reviewed
2021-05-06

Affected packages

• npm ps-visitor: <= 0.0.2 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-23374 This affects all versions of package ps-visitor. vulnerability

Weakness · CWE (1)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References