{"id":"GHSA-84cm-v6jp-gjmr","summary":"OS command injection in git-diff-apply","details":"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.","aliases":["CVE-2019-10776"],"modified":"2025-01-14T07:14:32.007522Z","published":"2020-02-14T23:09:24Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-02-13T19:30:10Z","nvd_published_at":null,"cwe_ids":["CWE-78"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10776"},{"type":"WEB","url":"https://github.com/kellyselden/git-diff-apply/commit/106d61d3ae723b4257c2a13e67b95eb40a27e0b5"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-GITDIFFAPPLY-540774,"}],"affected":[{"package":{"name":"git-diff-apply","ecosystem":"npm","purl":"pkg:npm/git-diff-apply"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.22.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.22.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-84cm-v6jp-gjmr/GHSA-84cm-v6jp-gjmr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}