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-2020-2254 Vulnerability in maven package io.jenkins.blueocean:blueocean-parent
CVE-2022-31110 Vulnerability in npm package rsshub
CVE-2023-22477 Vulnerability in npm package mercurius
CVE-2021-23472 Vulnerability in npm package bootstrap-table
CVE-2020-14060 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind