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-2011-5062 Vulnerability in maven package org.apache.tomcat:catalina
CVE-2020-2273 Vulnerability in maven package org.jenkins-ci.plugins:elastestv
CVE-2023-28155 Vulnerability in maven package org.webjars.bower:request
CVE-2023-46498 Vulnerability in npm package @evershop/evershop
CVE-2020-8116 Vulnerability in maven package org.webjars.npm:dot-prop