{"id":"CVE-2021-3689","published":"2021-08-10T10:21:30Z","modified":"2024-08-03T17:01:07Z","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.01851,"percentile":0.7964,"provenance":"source"},"cwes":[{"id":"CWE-1241","name":"Use of Predictable Algorithm in Random Number Generator"}],"references":[{"url":"https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46","tags":["x_refsource_MISC"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":15.93},{"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-hq3v-rg6f-6hx4"],"provenance":"source"}],"summary":{"text":"The yiisoft/yii2 PHP framework contains a flaw in which its random number generator relies on a predictable algorithm, which is classified as CWE \"Use of Predictable Algorithm in Random Number Generator\". An attacker with network access and no privileges or user interaction could exploit this under high attack complexity, meaning specific conditions must be met, to compromise confidentiality, integrity, and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:45Z"},"euvd":{"id":"EUVD-2021-2074","exploited":false,"provenance":"source"}}