Miggo Logo

CVE-2024-21491: svix vulnerable to Authentication Bypass

6.8

CVSS Score
3.1

Basic Information

EPSS Score
0.05203%
Published
2/13/2024
Updated
10/16/2024
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
svixrust< 1.17.01.17.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

V*rsions o* t** p**k*** svix ***or* *.**.* *r* vuln*r**l* to *ut**nti**tion *yp*ss *u* to *n issu* in t** v*ri*y *un*tion w**r* si*n*tur*s o* *i***r*nt l*n*t*s *r* in*orr**tly *omp*r**. *n *tt**k*r **n *yp*ss si*n*tur* v*ri*i**tion *y provi*in* * s*o

Reasoning

T** vuln*r**ility st*mm** *rom improp*r si*n*tur* l*n*t* *omp*rison in t** v*ri*i**tion pro**ss. T** *ommit *i** s*ows t** Rust impl*m*nt*tion in `w***ooks.rs` w*s mo*i*i** to *** * l*n*t* ****k ***or* *yt* *omp*rison. T** **visory *xpli*itly m*ntion