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.
{ "github_reviewed_at": "2023-07-31T22:09:51Z", "cwe_ids": [ "CWE-78" ], "nvd_published_at": "2018-01-02T17:29:00Z", "severity": "HIGH", "github_reviewed": true }