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-2022-21208 Vulnerability in npm package node-opcua
CVE-2019-10773 Vulnerability in npm package yarn
CVE-2020-5222 Vulnerability in maven package org.opencastproject:opencast-kernel
CVE-2022-45208 Vulnerability in maven package org.jeecgframework.boot:jeecg-module-system
CVE-2021-37304 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-base