{
  "schema_version": "1.4.0",
  "id": "GHSA-qr32-j4j6-3m7r",
  "modified": "2020-08-31T18:20:27Z",
  "published": "2019-05-29T20:23:00Z",
  "aliases": [
    "CVE-2017-16087"
  ],
  "summary": "Command Injection in fs-git",
  "details": "Affected versions of `fs-git` do not sanitize strings passed into the `buildCommand` method, resulting in arbitrary code execution.\n\n\n## Recommendation\n\nUpdate to version 1.0.2 or later. ",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "fs-git"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16087"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vvakame/fs-git/commit/eb5f70efa5cfbff1ab299fa7daaa5de549243998#diff-13b5b151431c7e7a17f273559ed212d5"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/360"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2019-05-29T20:22:06Z",
    "nvd_published_at": null
  }
}