Improper Input Validation Affecting blake2 package, versions <0.8.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-BLAKE2-466548
  • published11 Sept 2019
  • disclosed9 Sept 2019
  • creditMathias Hall-Andersen

Introduced: 9 Sep 2019

CVE-2019-16143  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade blake2 to version 0.8.1 or higher.

Overview

blake2 is a safe Rust binding to blake2.

Affected versions of this package are vulnerable to Improper Input Validation. The BLAKE2b and BLAKE2s algorithms, when used with HMAC, produce incorrect results because the block sizes are half of the required sizes.

CVSS Scores

version 3.1