{
  "schema_version": "1.4.0",
  "id": "GHSA-4g53-vp7q-gfjv",
  "modified": "2021-05-27T22:24:49Z",
  "published": "2021-05-28T19:18:28Z",
  "aliases": [],
  "summary": "constructEvent does not verify header",
  "details": "### Impact\nAnyone verifying a Stripe webhook request via this library's `constructEvent` function.\n\n### Patches\nUpgrade to 1.1.4. \n\n### Workarounds\nUse `await verifyHeader(...)` directly instead of `constructEvent`.\n\n### References\nhttps://github.com/worker-tools/stripe-webhook/issues/1\n",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@worker-tools/stripe-webhook"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.4"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/worker-tools/stripe-webhook/security/advisories/GHSA-4g53-vp7q-gfjv"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-27T22:24:49Z",
    "nvd_published_at": null
  }
}