{"id":"GHSA-hq3v-rg6f-6hx4","aliases":["CVE-2021-3689"],"title":"Use of Insufficiently Random Values in yiisoft/yii2-dev","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator","severity":"high","score":7.5,"published":"2021-09-01T18:35:34.000Z","modified":"2023-11-08T04:06:16.921Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"yiisoft/yii2-dev","sources":[{"name":"OSV · GHSA-hq3v-rg6f-6hx4","url":"https://osv.dev/vulnerability/GHSA-hq3v-rg6f-6hx4"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.0.43"}],"type":"ECOSYSTEM"}],"versions":["2.0.0","2.0.0-alpha","2.0.0-beta","2.0.0-rc","2.0.1","2.0.10","2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.12.1","2.0.12.2","2.0.13","2.0.13.1","2.0.13.2","2.0.13.3","2.0.14","2.0.14.1","2.0.14.2","2.0.15","2.0.15.1","2.0.16","2.0.16.1","2.0.17","2.0.18","2.0.19","2.0.2","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.28","2.0.29","2.0.3","2.0.30","2.0.31","2.0.32","2.0.33","2.0.34","2.0.35","2.0.36","2.0.37","2.0.38","2.0.39","2.0.39.1","2.0.39.2","2.0.39.3","2.0.4","2.0.40","2.0.41","2.0.41.1","2.0.42","2.0.42.1","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9"],"fixed":["2.0.43"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-3689","https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46","https://github.com/yiisoft/yii2","https://huntr.dev/bounties/50aad1d4-eb00-4573-b8a4-dbe38e2c229f"],"sources":[{"name":"OSV","id":"GHSA-hq3v-rg6f-6hx4","modified":"2023-11-08T04:06:16.921517Z","url":"https://osv.dev/vulnerability/GHSA-hq3v-rg6f-6hx4"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T21:25:31.856Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}