Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFyMzItajRqNi0zbTdy
Command Injection in fs-git
Affected versions of fs-git
do not sanitize strings passed into the buildCommand
method, resulting in arbitrary code execution.
Recommendation
Update to version 1.0.2 or later.
Permalink: https://github.com/advisories/GHSA-qr32-j4j6-3m7rJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFyMzItajRqNi0zbTdy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 5 years ago
Updated: almost 2 years ago
Identifiers: GHSA-qr32-j4j6-3m7r, CVE-2017-16087
References:
- https://github.com/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998
- https://github.com/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998#diff-13b5b151431c7e7a17f273559ed212d5
- https://www.npmjs.com/advisories/360
- https://nvd.nist.gov/vuln/detail/CVE-2017-16087
- https://github.com/advisories/GHSA-qr32-j4j6-3m7r
Blast Radius: 0.0
Affected Packages
npm:fs-git
Dependent packages: 3Dependent repositories: 5
Downloads: 398 last month
Affected Version Ranges: < 1.0.2
Fixed in: 1.0.2
All affected versions: 0.1.0, 0.1.1, 0.1.3, 0.1.4, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 1.0.0, 1.0.1
All unaffected versions: 1.0.2