{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.4.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "5b146b847b53d3226dc803da611d605aec080e7d"
            }
          ],
          "repo": "https://github.com/l33t-kr3w/push-dir",
          "type": "GIT"
        }
      ]
    }
  ],
  "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\". This could be abused by an attacker to inject arbitrary commands.",
  "id": "CVE-2019-10803",
  "modified": "2026-03-13T21:52:35.627120616Z",
  "published": "2020-02-28T21:15:13.010Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139"
    },
    {
      "type": "EVIDENCE",
      "url": "https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009"
    }
  ],
  "related": [
    "SNYK-JS-PUSHDIR-559009"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}