Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fs-git
  4. ›
  5. CVE-2017-1000451

CVE-2017-1000451: Code Injection

January 2, 2018 (updated October 3, 2019)

fs-git is an API for git that relies on child_process.exec. 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2017-1000451

Code Behaviors & Features

Detect and mitigate CVE-2017-1000451 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 up to 1.0.1

Fixed versions

  • 1.0.2

Solution

Upgrade to version 1.0.2 or above.

Impact 7.8 HIGH

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

npm/fs-git/CVE-2017-1000451.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:52 +0000.