{
  "schema_version": "1.4.0",
  "id": "GHSA-4228-7qvx-f4rq",
  "modified": "2021-05-11T17:26:32Z",
  "published": "2021-05-18T01:41:56Z",
  "aliases": [
    "CVE-2020-8186"
  ],
  "summary": "Injection and Command Injection in devcert",
  "details": "A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "devcert"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.2"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 1.1.1"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8186"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/863544"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-74",
      "CWE-77",
      "CWE-78"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-11T17:26:32Z",
    "nvd_published_at": "2020-07-10T16:15:00Z"
  }
}