Read the docs
TI-2021-02625 Aliases CVE-2021-3689GHSA-hq3v-rg6f-6hx4

Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2

Priority LOW 37CWE-1241Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator

Why it matters now

EPSS 0.01902 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed yiisoft/yii2-dev (Packagist): 2.0.43

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Yiiframeworkyiisoft/yii2up to 2.0.42.1—No fix listedCNA
—yiisoft/yii2-dev (Packagist)before 2.0.432.0.43Patch availableGHSA-hq3v-rg6f-6hx4
  • yiisoft/yii2 VendorYiiframework Affected up to 2.0.42.1 Fixed in — No fix listed CNA
  • yiisoft/yii2-dev (Packagist) Vendor— Affected before 2.0.43 Fixed in 2.0.43 Patch available GHSA-hq3v-rg6f-6hx4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*2.0.0 to before 2.0.43VulnerableYiiframework
  • cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* Versions 2.0.0 to before 2.0.43 Vulnerable ·Yiiframework

Remediation

  • Fix · GHSA-hq3v-rg6f-6hx4 yiisoft/yii2-dev (Packagist) Fixed in 2.0.43 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3689
  2. 2026-10-03 Alias added: GHSA-hq3v-rg6f-6hx4

References

  • TI-2024-38344 Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class… KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-11920 Unsafe deserialization in Yii 2 CVSS 3.1CRITICAL 10.0
  • TI-2024-04634 Unsafe Reflection in base Component class in yiisoft/yii2 CVSS 3.1CRITICAL 9.1
  • TI-2025-02355 yiisoft Yii2 MockClass.php generate deserialization CVSS 4.0MEDIUM 5.3
  • TI-2025-02354 yiisoft Yii2 SortableIterator.php getIterator deserialization CVSS 4.0MEDIUM 5.3
  • TI-2023-11755 SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows… CVSS 3.1CRITICAL 9.8
See all 18 →

Sources