Description
get-git-data through 1.3.1 is vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the arguments provided to get-git-data.
Remediation
References
https://github.com/chardos/get-git-data/blob/master/index.js#L7%2C
https://snyk.io/vuln/SNYK-JS-GETGITDATA-564222
Related Vulnerabilities
CVE-2019-19771 Vulnerability in npm package ecuvre
CVE-2020-7793 Vulnerability in maven package org.webjars.npm:ua-parser-js
CVE-2019-10286 Vulnerability in maven package com.openmake:deployhub
CVE-2019-10375 Vulnerability in maven package hudson.plugins.filesystem_scm:filesystem_scm
CVE-2021-43307 Vulnerability in maven package org.webjars.npm:semver-regex