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-2022-29647 Vulnerability in maven package net.mingsoft:ms-mcms
CVE-2021-23337 Vulnerability in maven package org.webjars:lodash
CVE-2023-37960 Vulnerability in maven package io.jenkins.plugins:mathworks-polyspace
CVE-2020-28469 Vulnerability in npm package glob-parent
CVE-2020-23814 Vulnerability in maven package com.xuxueli:xxl-job