CVE-2019-16143Blake2-rust
Critical 9.8 No auth needed
Follow: this CVE · Blake2 · Blake2-rust We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 62
- Auth required
- No
- Published
- Sep 9, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-327
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Blake2-rust.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | blake2 |
< 0.8.1 |
0.8.1 |
cargo update -p blake2 --precise 0.8.1 |
| crates.io | blake2 |
≥ 0.0.0-0 < 0.8.1 |
0.8.1 |
cargo update -p blake2 --precise 0.8.1 |
Per OSV / GitHub Advisories (GHSA-4x25-pvhw-5224, RUSTSEC-2019-0019). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| blake2 | blake2-rust | < 0.8.1 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Third Party Advisory