{"url":"http://public2.vulnerablecode.io/api/packages/525145?format=json","purl":"pkg:npm/%40worker-tools/stripe-webhook@1.1.2","type":"npm","namespace":"@worker-tools","name":"stripe-webhook","version":"1.1.2","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"1.1.4","latest_non_vulnerable_version":"1.1.4","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54550?format=json","vulnerability_id":"VCID-g3bg-nwk5-qkhy","summary":"constructEvent does not verify header\n### Impact\nAnyone verifying a Stripe webhook request via this library's `constructEvent` function.\n\n### Patches\nUpgrade to \n\n### Workarounds\nUse `await verifyHeader(...)` directly instead of `constructEvent`.\n\n### References\nhttps://github.com/worker-tools/stripe-webhook/issues/1","references":[{"reference_url":"https://github.com/advisories/GHSA-4g53-vp7q-gfjv","reference_id":"GHSA-4g53-vp7q-gfjv","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-4g53-vp7q-gfjv"},{"reference_url":"https://github.com/worker-tools/stripe-webhook/security/advisories/GHSA-4g53-vp7q-gfjv","reference_id":"GHSA-4g53-vp7q-gfjv","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/worker-tools/stripe-webhook/security/advisories/GHSA-4g53-vp7q-gfjv"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/80894?format=json","purl":"pkg:npm/%40worker-tools/stripe-webhook@1.1.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540worker-tools/stripe-webhook@1.1.4"}],"aliases":["GHSA-4g53-vp7q-gfjv","GMS-2021-31"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-g3bg-nwk5-qkhy"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540worker-tools/stripe-webhook@1.1.2"}