CVE-2025-59058
httpsig-rs's HMAC verification is vulnerable to timing attack
- State
- Published
- Severity
- 5.9 Medium
- Published
- Sep 12, 2025
- Updated
- Sep 12, 2025
- Reserved
- Sep 8, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
Weaknesses
- CWE-208 Observable Timing Discrepancy
Affected Products
| Product | Versions |
|---|---|
httpsig-rsjunkurihara |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.