CVE-2021-3692Yiiframework Yii
Medium 5.3 No auth needed
Follow: this CVE · Yiiframework · Yiiframework Yii We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- 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:L/I:N/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-wwvv-x5mq-h3jj). 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 Issue Tracking Third Party Advisory