Skip to content

← Public intelligence

crates.io package

httpsig

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.9crates.ioPublished

    httpsig-rs: HMAC verification is vulnerable to timing attack

    CVE-2025-59058 · GHSA-q7pg-9pr4-mrp2

    Affected
    • crates.io httpsig < 0.0.19
    Fixed in
    0.0.19· Vendor fix available
    Issue
    HMAC signature comparison is not timing-safe and is vulnerable to timing attacks. Details SharedKey::sign() returns a Vec<u8 which has a non-constant-time equality implementation. Hmac::finalize() returns a constant-time wrapper (CtOutput) which was discarded. Alternatively, Hmac has a constant-time verify() method. The problem reported here is due to the following lines in SharedKey::sign() of the previous code: and the merged update changes the third line to directly verify with verifyslice. Impact Anyone who uses HS256 signature verification is vulnerably to Timing Attack that allows the attacker to forge a signature.

    Recommended action: Upgrade to 0.0.19 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →