Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTRnNTMtdnA3cS1nZmp2

constructEvent does not verify header

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

Permalink: https://github.com/advisories/GHSA-4g53-vp7q-gfjv
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTRnNTMtdnA3cS1nZmp2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: almost 2 years ago


Identifiers: GHSA-4g53-vp7q-gfjv
References: Repository: https://github.com/worker-tools/stripe-webhook
Blast Radius: 1.0

Affected Packages

npm:@worker-tools/stripe-webhook
Dependent packages: 1
Dependent repositories: 0
Downloads: 10 last month
Affected Version Ranges: < 1.1.4
Fixed in: 1.1.4
All affected versions: 1.1.2, 1.1.3
All unaffected versions: 1.1.4