{"id":"CVE-2019-10776","aliases":["CVE-2019-10776","GHSA-84cm-v6jp-gjmr"],"related":[],"kind":"vulnerability","state":"published","title":"OS command injection in git-diff-apply","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En la línea 240 del archivo \"index.js\", el comando run ejecuta el comando git con una variable controlada por el usuario llamada remoteUrl. Esto afecta a git-diff-apply todas las versiones anteriores a la versión  0.22.2.","source":"nvd"}],"published":"2020-01-07T18:27:13.000Z","modified":"2026-06-17T02:11:39.073Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"All versions prior to version 0.22.2","status":"affected"}],"product":"git-diff-apply","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.22.2"}],"ecosystem":"npm","package":"git-diff-apply","purl":"pkg:npm/git-diff-apply","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.22.2"}],"vendor":"git-diff-apply_project","product":"git-diff-apply","cpe":"cpe:2.3:a:git-diff-apply_project:git-diff-apply:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774%2C","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10776","tags":["advisory"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774","tags":["exploit","patch","third-party-advisory","web"],"sources":["ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774,","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-10776","url":"https://www.cve.org/CVERecord?id=CVE-2019-10776","licence":"CVE Terms of Use","modified":"2024-08-04T22:32:01.701Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84cm-v6jp-gjmr","url":"https://github.com/advisories/GHSA-84cm-v6jp-gjmr","licence":"CC-BY-4.0","modified":"2025-01-14T07:14:32.007Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-10776","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10776","licence":"Public domain","modified":"2026-06-17T02:11:39.073Z"}],"updatedAt":"2026-11-25T22:57:49.179Z","epss":{"score":0.02147,"percentile":0.82623,"date":"2026-12-01T12:00:22.000Z"}}