CVE Vulnerabilities

CVE-2021-3689

Use of Predictable Algorithm in Random Number Generator

Published: Aug 10, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator

Weakness

The device uses an algorithm that is predictable and generates a pseudo-random number.

Affected Software

Name Vendor Start Version End Version
Yii Yiiframework 2.0.0 (including) 2.0.43 (excluding)

Extended Description

Pseudo-random number generator algorithms are predictable because their registers have a finite number of possible states, which eventually lead to repeating patterns. As a result, pseudo-random number generators (PRNGs) can compromise their randomness or expose their internal state to various attacks, such as reverse engineering or tampering. It is highly recommended to use hardware-based true random number generators (TRNGs) to ensure the security of encryption schemes. TRNGs generate unpredictable, unbiased, and independent random numbers because they employ physical phenomena, e.g., electrical noise, as sources to generate random numbers.

Potential Mitigations

References