Svix vulnerable to improper comparison of different-length signatures
Moderate severity
GitHub Reviewed
Published
Feb 6, 2024
to the GitHub Advisory Database
•
Updated Feb 6, 2024
Description
Published to the GitHub Advisory Database
Feb 6, 2024
Reviewed
Feb 6, 2024
Last updated
Feb 6, 2024
The
Webhook::verify
function incorrectly compared signatures of different lengths - the two signatures would only be compared up to the length of the shorter signature. This allowed an attacker to pass inv1,
as the signature, which would always pass verification.References