Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS13cDNqLWd2NTMtNHBnOM4AAR2q
fs-git command injection vulnerability
fs-git is a file system like api for git repository. The fs-git version 1.0.1 module relies on child_process.exec, however, the buildCommand method used to construct exec strings does not properly sanitize data and is vulnerable to command injection across all methods that use it and call exec.
Permalink: https://github.com/advisories/GHSA-wp3j-gv53-4pg8JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13cDNqLWd2NTMtNHBnOM4AAR2q
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 2 years ago
Updated: 10 months ago
CVSS Score: 7.8
CVSS vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-wp3j-gv53-4pg8, CVE-2017-1000451
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000451
- https://nodesecurity.io/advisories/360
- https://github.com/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998
- https://github.com/advisories/GHSA-wp3j-gv53-4pg8
Blast Radius: 5.5
Affected Packages
npm:fs-git
Dependent packages: 3Dependent repositories: 5
Downloads: 112 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