CVE-2021-3692: Yii2 - Weak Cryptography
- Cve: CVE-2021-3692
- Name: Yii2 - Weak Cryptography
- Description: yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
- Impact: Attackers can predict random values, potentially compromising security features relying on randomness.
- Remediation: Update Yii2 to the latest version where this issue is fixed.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.01654
- Epss percentile: 0.77192
- Assignee: [email protected]
- Published at: 2021-08-10T17:15:10Z
- Age in days: 1932
- Modified at: 2026-06-17T04:05:34Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3692
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1241 | Use of Predictable Algorithm in Random Number Generator |
| CWE-330 | Use of Insufficiently Random Values |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba | nvd | 2021-08-10 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/yiisoft/yii2/commit/13f27e4d920a05d53236139e8b07007acd046a46 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba | nvd | Exploit, Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| yiiframework:yii | >= 2.0.0, < 2.0.43 | no | nvd | /v1/products/yiiframework/yii |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| yiisoft/yii2 | commit, fix, package | yes | /v1/repositories/yiisoft/yii2 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-08-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts