Buffer Overflow Affecting streebog package, versions <0.8.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (37th 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 Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-STREEBOG-1300174
  • published4 Jun 2021
  • disclosed6 Oct 2019
  • creditUnknown

Introduced: 6 Oct 2019

CVE-2019-25006  (opens in a new tab)
CVE-2019-25007  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade streebog to version 0.8.0 or higher.

Overview

streebog is a rust implementation of the Streebog (GOST R 34.11-2012) hash function.

Affected versions of this package are vulnerable to Buffer Overflow. Internal update-sigma function was implemented incorrectly and depending on debug-assertions it could've caused an incorrect result or panic for certain inputs.

CVSS Base Scores

version 3.1