Description
giting version prior to 0.0.8 allows execution of arbritary commands. The first argument "repo" of function "pull()" is executed by the package without any validation.
Remediation
References
https://github.com/MangoRaft/git/commit/9be41081f547d3dcef25e7d7c957bc2a3be2dfe0
https://snyk.io/vuln/SNYK-JS-GITING-559008
Related Vulnerabilities
CVE-2017-16151 Vulnerability in maven package org.webjars.npm:electron
CVE-2021-41571 Vulnerability in maven package org.apache.pulsar:pulsar
CVE-2020-7608 Vulnerability in npm package yargs-parser
CVE-2021-31684 Vulnerability in maven package net.minidev:json-smart
CVE-2019-12041 Vulnerability in maven package org.webjars.npm:remarkable