Description
In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2.
Remediation
References
https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774
https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5
https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774%2C
Related Vulnerabilities
CVE-2010-5312 Vulnerability in npm package jquery-ui
CVE-2021-23328 Vulnerability in npm package iniparserjs
CVE-2023-41080 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2017-16096 Vulnerability in npm package serveryaozeyan
CVE-2021-39235 Vulnerability in maven package org.apache.ozone:ozone-main