GitHub Advisoryadvisory · npm

GHSA-cff4-rrq6-h78w Command Injection in command-exists

CRITICAL Published 2019-06-03 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
command-exists
Severity
Critical
Weaknesses
CWE-77
Reviewed
2019-06-03

Affected packages

• npm command-exists: < 1.2.4 → fixed in 1.2.4

Description

Versions of `command-exists` before 1.2.4 are vulnerable to command injection. This is exploitable if user input is provided to this module. Recommendation Update to version 1.2.4 or later.

Related

Weakness · CWE (1)

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

References