Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. command-exists
  4. ›
  5. GMS-2019-17

GMS-2019-17: Command Injection in command-exists

June 3, 2019 (updated August 4, 2021)

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

References

  • github.com/advisories/GHSA-cff4-rrq6-h78w
  • github.com/mathisonian/command-exists/blob/v1.2.2/lib/command-exists.js
  • hackerone.com/reports/324453
  • www.npmjs.com/advisories/659

Code Behaviors & Features

Detect and mitigate GMS-2019-17 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.4

Fixed versions

  • 1.2.4

Solution

Upgrade to version 1.2.4 or above.

Source file

npm/command-exists/GMS-2019-17.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:16 +0000.