High severity · published Aug 10, 2021
CVE-2021-3689
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
7.5
CVSS
1.9%
EPSS
No
On KEV
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YI
Yii · Yiiframework
2.0.0 before 2.0.43 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3689
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3689
Patch
https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46
Exploit
https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f
More from Yii
9.8
CVE-2024-58136
Yiiframework Yii Improper Protection of Alternate Path Vulnerability
10.0
CVE-2020-15148
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input
9.8
CVE-2025-2690
yiisoft Yii2 MockClass.php generate deserialization
9.8
CVE-2025-2689
yiisoft Yii2 SortableIterator.php getIterator deserialization
9.8
CVE-2023-47130
Unsafe deserialization of user data in yiisoft/yii
