rustcrypto/hashes · Security
Algorithms compute incorrect results in blake2
- GHSA ID
- GHSA-4x25-pvhw-5224
- CVE ID
- CVE-2019-16143
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
An issue was discovered in the blake2 crate before 0.8.1 for Rust. The BLAKE2b and BLAKE2s algorithms, when used with HMAC, produce incorrect results because the block sizes are half of the required sizes.
CWEs
- CWE-327 · Use of a Broken or Risky Cryptographic Algorithm