CVE-2021-3692
MEDIUM 5.3CVSS 3.1Use of Cryptographically Weak Pseudo-Random Number Generator in yiisoft/yii2-dev
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
- Published
- 10 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-1241CWE-330CWE-338
- Also known as
- GHSA-wwvv-x5mq-h3jj
- Sources
- NVDJSONOSV GHSA-wwvv-x5mq-h3jjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yiiframework | yiicpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.43 | 2.0.43 |
| OSV | Packagist | yiisoft/yii2-dev | < 2.0.43 | 2.0.43 |
References
- https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3692 · ADVISORY
- https://github.com/yiisoft/yii2 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Sep 2021)