Advisory

GHSA-4x25-pvhw-5224

Also known as: CVE-2019-16143, RUSTSEC-2019-0019

Summary

Algorithms compute incorrect results in blake2

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:44 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

blake2

crates.io · All systems

Affected

  • introduced 0, fixed 0.8.1 (semver)

Fixed versions

0.8.1

Fix

  • Fixed version 0.8.1
    cargo update -p blake2 --precise 0.8.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences