Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNmZjQtcnJxNi1oNzh3
Command Injection in command-exists
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.
Permalink: https://github.com/advisories/GHSA-cff4-rrq6-h78wJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNmZjQtcnJxNi1oNzh3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 5 years ago
Updated: over 1 year ago
Identifiers: GHSA-cff4-rrq6-h78w
References:
- https://hackerone.com/reports/324453
- https://github.com/mathisonian/command-exists/blob/v1.2.2/lib/command-exists.js#L49-L94
- https://www.npmjs.com/advisories/659
- https://github.com/mathisonian/command-exists/commit/7ca91ba71604df6817a28c93d7776af9c49c431a
- https://github.com/advisories/GHSA-cff4-rrq6-h78w
Blast Radius: 0.0
Affected Packages
npm:command-exists
Dependent packages: 1,532Dependent repositories: 482,392
Downloads: 12,764,850 last month
Affected Version Ranges: < 1.2.4
Fixed in: 1.2.4
All affected versions: 0.1.0, 0.1.1, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3
All unaffected versions: 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9