CVE-2021-3689

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

HIGH
7.5
CVSS Score
Published: August 10, 2021 at 10:21 AM UTC
Updated: June 17, 2026 at 04:05 AM UTC
2 products affected across 2 vendorsYiiYii

Using yiisoft/yii2 by yiisoft?

Get instant alerts when new vulnerabilities affect yiisoft/yii2 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%

Description

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0.0 ≤ v < 2.0.43
Affected range stops below 2.0.43, so it looks safe — our inference, not a vendor statement
v ≤ 2.0.42.1

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1241CWE-330

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card