GMS-2021-31: constructEvent does not verify header
Impact
Anyone verifying a Stripe webhook request via this library’s constructEvent
function.
Patches
Upgrade to
Workarounds
Use await verifyHeader(...)
directly instead of constructEvent
.
References
https://github.com/worker-tools/stripe-webhook/issues/1
References
Detect and mitigate GMS-2021-31 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →