mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-06 03:29:45 +01:00
Add svix signature verification issue (#1875)
This commit is contained in:
21
crates/svix/RUSTSEC-0000-0000.md
Normal file
21
crates/svix/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,21 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "svix"
|
||||
date = "2024-02-06"
|
||||
url = "https://github.com/svix/svix-webhooks/pull/1190"
|
||||
categories = ["crypto-failure"]
|
||||
|
||||
[affected]
|
||||
functions = { "svix::webhooks::Webhook::verify" = ["< 1.17.0"] }
|
||||
|
||||
[versions]
|
||||
patched = [">= 1.17.0"]
|
||||
```
|
||||
|
||||
# Improper comparison of different-length signatures
|
||||
|
||||
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 in `v1,` as the signature, which would always pass verification.
|
||||
Reference in New Issue
Block a user