Lucene search

K
githubGitHub Advisory DatabaseGHSA-4G53-VP7Q-GFJV
HistoryMay 28, 2021 - 7:18 p.m.

constructEvent does not verify header

2021-05-2819:18:28
GitHub Advisory Database
github.com
57
constructevent
verifyheader
stripe
webhook
function
upgrade

Impact

Anyone verifying a Stripe webhook request via this library’s constructEvent function.

Patches

Upgrade to 1.1.4.

Workarounds

Use await verifyHeader(...) directly instead of constructEvent.

References

https://github.com/worker-tools/stripe-webhook/issues/1

Affected configurations

Vulners
Node
worker-toolsstripe-webhookRange<1.1.4
VendorProductVersionCPE
worker-toolsstripe-webhook*cpe:2.3:a:worker-tools:stripe-webhook:*:*:*:*:*:*:*:*