CVE-2024-21491: svix vulnerable to Authentication Bypass
6.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.05203%
CWE
Published
2/13/2024
Updated
10/16/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| svix | rust | < 1.17.0 | 1.17.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper signature length comparison in the verification process. The commit diff shows the Rust implementation in webhooks.rs was modified to add a length check before byte comparison. The advisory explicitly mentions Webhook::verify as the affected function, and the patch adds a critical length equality check (x.1.len() == expected_signature.len()) to prevent partial signature matches. Multiple sources (CVE, GHSA, RustSec) confirm this function was the vulnerable entry point.