GHSA-xcc6-f2jq-43x6

Mở trang đầy đủ

CVSS —

BLAKE2b produces wrong tag when using `reset()` with a different-length key

Công bố
Cập nhật
Lần đầu thấy
Nguồn
OSV.dev

Mô tả

Summary

hazardous::mac::blake2b::Blake2b::reset() does not correctly reset the state when a key is supplied that has a different length than the one used upon initialization with hazardous::mac::blake2b::Blake2b::new(), because it errorneously uses a cached length.

Impact

Initialization hazardous::mac::blake2b::Blake2b with a key of some length N, followed by a reset with a key of length != N will produce an incorrect BLAKE2b tag, causing hazardous::mac::blake2b::Blake2b::verify() to fail. This means under honest protocol conditions, parties could experience failing tag verifications.

Resolution

Upgrade to v0.17.16 or v0.18.1.

Điểm và phân loại

CVSS
Chưa có điểm CVSS
EPSS
—
CWE
—

Ảnh hưởng

Package Bản bị ảnh hưởng Bản đã sửa
rust orion < 0.17.16 0.17.16
rust orion >= 0.18.0-0, < 0.18.1 0.18.1

Vì sao bị lọc

  • CVSS chưa có điểm < 8.0 và không thuộc CISA KEV

Loại tác động

Không nhận ra loại tác động nào từ CWE, vector hay mô tả.

Dữ liệu riêng của nguồn

OSV.dev · ID
RUSTSEC-2026-0428

Tham khảo