GHSA-4g53-vp7q-gfjv

    Dashboard / Vulnerabilities / GHSA-4g53-vp7q-gfjv

    GHSA-4g53-vp7q-gfjv

    Published: 28 May 2021Last Modified: 27 May 2021

    Summary: constructEvent does not verify header

    Details: ### 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 packages

    Package

    Name: @worker-tools/stripe-webhook

    Purl: pkg:npm/%40worker-tools/stripe-webhook

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.1.4

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-4g53-vp7q-gfjv | CVE-DB