CVE-2021-3689Yiiframework Yii
High 7.5 No auth needed
Follow: this CVE · Yiiframework · Yiiframework Yii We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Aug 10, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
What to do
- Apply the vendor's security update for Yii.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | yiisoft/yii2-dev |
< 2.0.43 |
2.0.43 |
composer require "yiisoft/yii2-dev:^2.0.43" |
Per OSV / GitHub Advisories (GHSA-hq3v-rg6f-6hx4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yiiframework | yii | ≥ 2.0.0 < 2.0.43 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Third Party Advisory