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
Code Behaviors & Features
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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →