GHSA-4g53-vp7q-gfjv: constructEvent does not verify header
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
5/28/2021
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
@worker-tools/stripe-webhook | npm | < 1.1.4 | 1.1.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The security patch modifies the constructEvent
function to add 'await' before verifyHeader
. This indicates the original vulnerability was caused by improper async handling of security checks. The advisory explicitly states constructEvent
was the vulnerable entry point, and the patch evidence shows the function was missing critical async/await mechanics required for proper verification. In runtime detection, constructEvent
would appear in profiler traces when processing unverified webhook payloads.