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-4pg8
JSON: 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: Repository: https://github.com/vvakame/fs-git
Blast Radius: 5.5

Affected Packages

npm:fs-git
Dependent packages: 3
Dependent 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