CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-26275

High
Published: Translated: NVD NIST

Summary

W `httpsig-hyper` przed wersją 0.0.23 wystąpił problem z weryfikacją nagłówka Digest, który mógł niepoprawnie zwracać sukces z powodu niewłaściwego użycia makra `matches!` w Rust. W rezultacie, weryfikacja digestu mogła nie wykrywać modyfikacji treści wiadomości HTTP.

Risk Assessment

Organizacje mogą być narażone na ryzyko, że aplikacje polegające na weryfikacji Digest nie wykryją modyfikacji treści wiadomości, co może prowadzić do nieautoryzowanych zmian w danych.

Recommendation

Zaleca się aktualizację `httpsig-hyper` do wersji 0.0.23, aby naprawić problem z weryfikacją digestu oraz wprowadzić dodatkowe warstwy weryfikacji podpisu, jeśli to możliwe.

Related vulnerabilities

Original NVD description (English source)

httpsig-hyper is a hyper extension for http message signatures. An issue was discovered in `httpsig-hyper` prior to version 0.0.23 where Digest header verification could incorrectly succeed due to misuse of Rust's `matches!` macro. Specifically, the comparison `if matches!(digest, _expected_digest)` treated `_expected_digest` as a pattern binding rather than a value comparison, resulting in unconditional success of the match expression. As a consequence, digest verification could incorrectly return success even when the computed digest did not match the expected value. Applications relying on Digest verification as part of HTTP message signature validation may therefore fail to detect message body modification. The severity depends on how the library is integrated and whether additional signature validation layers are enforced. This issue has been fixed in `httpsig-hyper` 0.0.23. The fix replaces the incorrect `matches!` usage with proper value comparison and additionally introduces co

Vulnerability data from NVD (NIST) · CISA KEV · EPSS