Skip to content
OpenAdvisories
Medium · 5.9 CVE-2025-59058 EUVD-2025-29041GHSA-q7pg-9pr4-mrp2

httpsig-rs's HMAC verification is vulnerable to timing attack

Published Sep 12, 2025 · Updated Sep 12, 2025 · Assigned by GitHub_M

Description

httpsig-rs is a Rust implementation of IETF RFC 9421 http message signatures. Prior to version 0.0.19, the HMAC signature comparison is not timing-safe. This makes anyone who uses HS256 signature verification vulnerable to a timing attack that allows the attacker to forge a signature. Version 0.0.19 fixes the issue.

Affected products

VendorProductAffectedFixed
junkurihara httpsig-rs < 0.0.19 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io httpsig < 0.0.19 0.0.19 GHSA-q7pg-9pr4-mrp2

References