Description
git-add-remote through 1.0.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the name argument.
Remediation
References
https://github.com/jonschlinkert/git-add-remote/blob/master/index.js#L21%2C
https://snyk.io/vuln/SNYK-JS-GITADDREMOTE-564269
Related Vulnerabilities
CVE-2018-3726 Vulnerability in npm package crud-file-server
CVE-2023-22578 Vulnerability in npm package sequelize
CVE-2020-26217 Vulnerability in maven package xstream:xstream
CVE-2022-21192 Vulnerability in npm package serve-lite
CVE-2023-40816 Vulnerability in maven package org.opencrx:opencrx-core-models