Advisory

RUSTSEC-2024-0010

Also known as: CVE-2024-21491, GHSA-747x-5m58-mq97, GHSA-w277-wpqf-rcfv

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.

Severity

Not rated by the source.

Dates

Published
2024-02-06 12:00 UTC
Modified
2024-02-15 01:26 UTC

Affected packages and fixes

svix

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 1.17.0 (semver)

Fixed versions

1.17.0

Fix

  • Fixed version 1.17.0
    cargo update -p svix --precise 1.17.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences