Live threats

All CVEs / Yiiframework

CVE-2021-3689Yiiframework Yii

High 7.5 No auth needed

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
Weakness (CWE)
CWE-1241, CWE-330
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

Original NVD text.

What to do

  1. Apply the vendor's security update for Yii.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
yiiframeworkyii≥ 2.0.0 < 2.0.43

Official sources

References

Links published by the sources. Open them with care.