Skip to content

Command Injection in command-exists

Critical severity GitHub Reviewed Published Jun 3, 2019 to the GitHub Advisory Database • Updated Apr 3, 2023

Package

npm command-exists (npm)

Affected versions

< 1.2.4

Patched versions

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.

References

Reviewed Jun 3, 2019
Published to the GitHub Advisory Database Jun 3, 2019
Last updated Apr 3, 2023

Severity

Critical

EPSS score

Weaknesses

Improper Neutralization of Special Elements used in a Command ('Command Injection')

The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-cff4-rrq6-h78w

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.