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-2018-5382 Vulnerability in maven package org.bouncycastle:bcprov-jdk15
CVE-2017-12628 Vulnerability in maven package org.apache.james:james-server
CVE-2022-31830 Vulnerability in npm package kityminder
CVE-2018-1000862 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2020-28487 Vulnerability in maven package org.webjars.bowergithub.visjs:vis-timeline