PT-2019-16423 · Rust · Streebog

Published

2019-10-06

·

Updated

2021-08-25

·

CVE-2019-25006

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions streebog crate versions prior to 0.8.0
Description The issue is related to the Streebog hash function, which can produce incorrect results. This is due to the internal update-sigma function being implemented incorrectly. Depending on debug-assertions, it could cause an incorrect result or panic for certain inputs.
Recommendations For versions prior to 0.8.0, update to version 0.8.0 or later to resolve the issue. As a temporary workaround, consider disabling the update-sigma function until a patch is available. Restrict the use of the Streebog hash function to minimize the risk of incorrect results.

Exploit

Fix

Assertion Failure

Use of a Broken Cryptographic Algorithm

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-25006
GHSA-39WR-F4FF-XM6P
GHSA-GF93-H79Q-6JJV
RUSTSEC-2019-0030

Affected Products

Streebog