{"id":"CVE-2021-3692","published":"2021-08-10T15:36:00Z","modified":"2024-08-03T17:01:08Z","title":"Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2","vendor":"yiisoft","product":"yiisoft/yii2","tier":"tail","description":{"text":"yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01654,"percentile":0.77157,"provenance":"source"},"cwes":[{"id":"CWE-1241","name":"Use of Predictable Algorithm in Random Number Generator"}],"references":[{"url":"https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba","tags":["x_refsource_CONFIRM"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":15.43},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"yiisoft","affectedVersions":[{"vendor":"yiisoft","product":"yiisoft/yii2","versions":[">= unspecified, <= 2.0.42.1"]}],"affected":[{"ecosystem":"Packagist","package":"yiisoft/yii2-dev","vulnerableRanges":["<2.0.43"],"patched":["2.0.43"],"from":["GHSA-wwvv-x5mq-h3jj"],"provenance":"source"}],"summary":{"text":"The yii2 PHP framework (yiisoft/yii2, from vendor yiisoft) contains a flaw in which its random number generator relies on a predictable algorithm, so generated values are not cryptographically secure. Based on the vector, an attacker with unauthenticated network access can exploit this with no user interaction, but the attack complexity is high, meaning specific conditions must be met for exploitation to succeed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:06:48Z"},"euvd":{"id":"EUVD-2021-2128","exploited":false,"provenance":"source"}}