{"id":"CVE-2019-10776","aliases":["EUVD-2020-0294","GHSA-84cm-v6jp-gjmr"],"status":"published","title":"OS command injection in git-diff-apply","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02147,"percentile":0.82232,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2020-01-07T18:27:13Z","modified":"2026-10-20T10:50:40Z","fixes":[{"ecosystem":"npm","package":"git-diff-apply","fixed_in":["0.22.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"git-diff-apply","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.22.1"},{"fixed":"0.22.2"}]}]},{"source":"osv","ecosystem":"npm","package":"git-diff-apply","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.22.2"}]}]}],"products":[{"vendor":"git-diff-apply_project","product":"git-diff-apply"}],"references":[{"url":"https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774%2C","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10776","tags":["advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774","tags":["Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774,","tags":["web"]},{"url":"https://github.com/advisories/GHSA-84cm-v6jp-gjmr"}],"sources":{"cve":[{"id":"CVE-2019-10776","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.","status":"published","published":"2020-01-07T18:27:13Z","modified":"2024-08-04T22:32:01.701Z","updated_at":"2026-11-02T14:20:18.746972Z"}],"euvd":[{"id":"EUVD-2020-0294","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.","status":"published","published":"2020-01-07T18:27:13Z","modified":"2024-08-04T22:32:01Z","updated_at":"2026-11-03T02:40:51.198112Z"}],"ghsa":[{"id":"GHSA-84cm-v6jp-gjmr","title":"OS command injection in git-diff-apply","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.","status":"published","published":"2020-02-14T23:09:24Z","modified":"2023-01-09T05:02:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:36:03.040255Z"}],"nvd":[{"id":"CVE-2019-10776","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.","status":"published","published":"2020-01-07T19:15:10.413Z","modified":"2026-06-17T02:11:39.073Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:05:42.416368Z"}],"osv":[{"id":"CVE-2019-10776","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.","status":"published","published":"2020-01-07T19:15:10.413Z","modified":"2026-10-20T10:50:40.53339822Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:10.383287Z"},{"id":"GHSA-84cm-v6jp-gjmr","title":"OS command injection in git-diff-apply","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.","status":"published","published":"2020-02-14T23:09:24Z","modified":"2025-01-14T07:14:32.007522Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:41.732368Z"}]}}
