Description
fsa through 0.5.1 is vulnerable to Command Injection. The first argument of 'execGitCommand()', located within 'lib/rep.js#63' can be controlled by users without any sanitization to inject arbitrary commands.
Remediation
References
https://github.com/gregof/fsa/blob/master/lib/rep.js#L12
https://snyk.io/vuln/SNYK-JS-FSA-564118
Related Vulnerabilities
CVE-2021-33623 Vulnerability in npm package trim-newlines
CVE-2023-46122 Vulnerability in maven package org.scala-sbt:io_3
CVE-2022-35924 Vulnerability in npm package next-auth
CVE-2022-31129 Vulnerability in npm package moment
CVE-2016-1000346 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on