rustsec-2024-0010
Vulnerability from osv_rustsec
Published
2024-02-06 12:00
Modified
2024-02-15 01:22
Summary
Improper comparison of different-length signatures
Details
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.
{
"affected": [
{
"database_specific": {
"categories": [
"crypto-failure"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [
"svix::webhooks::Webhook::verify"
],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "svix",
"purl": "pkg:cargo/svix"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "1.17.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"CVE-2024-21491",
"GHSA-747x-5m58-mq97",
"GHSA-w277-wpqf-rcfv"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "The `Webhook::verify` function incorrectly compared signatures of\ndifferent lengths - the two signatures would only be compared up to\nthe length of the shorter signature. This allowed an attacker to\npass in `v1,` as the signature, which would always pass verification.",
"id": "RUSTSEC-2024-0010",
"modified": "2024-02-15T01:22:49Z",
"published": "2024-02-06T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/svix"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0010.html"
},
{
"type": "WEB",
"url": "https://github.com/svix/svix-webhooks/pull/1190"
}
],
"related": [],
"severity": [],
"summary": "Improper comparison of different-length signatures"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…