CVE-2025-59058 httpsig-rs's HMAC verification is vulnerable to timing attack
MediumCVSS 5.9
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io httpsig(crates.io) | < 0.0.19 | 0.0.19 | Fixed |
| junkurihara httpsig-rs | = < 0.0.19 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io httpsig(crates.io) | < 0.0.19 | 0.0.19 |
| junkurihara httpsig-rs | = < 0.0.19 | No fix listed |
References
- https://github.com/junkurihara/httpsig-rs/security/advisories/GHSA-q7pg-9pr4-mrp2 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/junkurihara/httpsig-rs/commit/fc095b6ce6043bb808f5d9c4379cf697899cb458 patch
- github.com product
- github.com