{"id":"GHSA-wp3j-gv53-4pg8","summary":"fs-git command injection vulnerability","details":"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.","aliases":["CVE-2017-1000451"],"modified":"2023-11-08T03:58:46.662055Z","published":"2022-05-13T01:41:14Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-31T22:09:51Z","nvd_published_at":"2018-01-02T17:29:00Z","cwe_ids":["CWE-78"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000451"},{"type":"WEB","url":"https://github.com/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998"},{"type":"WEB","url":"https://nodesecurity.io/advisories/360"}],"affected":[{"package":{"name":"fs-git","ecosystem":"npm","purl":"pkg:npm/fs-git"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wp3j-gv53-4pg8/GHSA-wp3j-gv53-4pg8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}