GitHub Advisoryadvisory · npm

GHSA-wp3j-gv53-4pg8 fs-git command injection vulnerability

HIGH Published 2022-05-13 Modified 2023-07-31 Official page ↗
Aliases
CVE-2017-1000451
Ecosystem
npm
Packages
fs-git
Severity
High
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2023-07-31

Affected packages

• npm fs-git: < 1.0.2 → fixed in 1.0.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2017-1000451 fs-git is a file system like api for git repository. vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References