CVE-2024-21491 json
svix vulnerable to Authentication Bypass
published 2024-02-06 2 y ago modified 2026-06-17 4 mo ago also GHSA-747x-5m58-mq97 , GHSA-w277-wpqf-rcfv , RUSTSEC-2024-0010 , EUVD-2024-0546
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
Versions of the package svix before 1.17.0 are vulnerable to Authentication Bypass due to an issue in the verify function where signatures of different lengths are incorrectly compared. An attacker can bypass signature verification by providing a shorter signature that matches the beginning of the actual signature. **Note:** The attacker would need to know a victim uses the Rust library for verification,no easy way to automatically check that; and uses webhooks by a service that uses Svix, and then figure out a way to craft a malicious payload that will actually include all of the correct identifiers needed to trick the receivers to cause actual issues.
Patch / fix
- crates.io svix 1.17.0
- n/a svix 1.17.0
- github.com/svix/svix-webhooks@958821b commit
- github.com/svix/svix-webhooks#1190 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | svix | <1.17.0 >=0.0.0-0, <1.17.0 |
1.17.0 |
Affected products
- n/a svix
Classification
References
-
github.com
/svix/svix-webhooks/pull/1190
web, patch
-
github.com
/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6
web, patch
-
security.snyk.io
/vuln/SNYK-RUST-SVIX-6230729
web, third-party-advisory
-
rustsec.org
/advisories/RUSTSEC-2024-0010.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-21491
advisory
-
github.com
/svix/svix-webhooks
package
-
crates.io
/crates/svix
package
Sources
- CVE List CVE-2024-21491
- GitHub Advisory GHSA-747x-5m58-mq97
- GitHub Advisory GHSA-w277-wpqf-rcfv
- NVD CVE-2024-21491
- OSV RUSTSEC-2024-0010
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.