{"id":"GHSA-926x-m6m5-3mmp","summary":"push-dir Enables OS Command Injection","details":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable `opt.branch` is not validated before being provided to the `git` command within [index.js#L139](https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139). This could be abused by an attacker to inject arbitrary commands.","aliases":["CVE-2019-10803","SNYK-JS-PUSHDIR-559009"],"modified":"2026-07-08T05:56:12.159835608Z","published":"2022-02-09T22:50:06Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-04-09T21:01:28Z","nvd_published_at":"2020-02-28T21:15:00Z","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10803"},{"type":"WEB","url":"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009"}],"affected":[{"package":{"name":"push-dir","ecosystem":"npm","purl":"pkg:npm/push-dir"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-926x-m6m5-3mmp/GHSA-926x-m6m5-3mmp.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"}]}