Back
CVE-2021-3689
Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2
High8.1EPSS 1.9%
- Published
- Updated
- Reserved
- Assigned by
- @huntrdev
Description
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| @huntrdevCNA (assigner) | 3.0 | High8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
Affected products
- affected unspecified – ≤ 2.0.42.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistyiisoft/yii2-devGHSA-hq3v-rg6f-6hx4 (opens in a new tab)
References (2)
- https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hq3v-rg6f-6hx4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-3689)Record last updated .