Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. yiisoft/yii2-dev
  4. ›
  5. CVE-2021-3692

CVE-2021-3692: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

August 10, 2021 (updated April 25, 2022)

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

References

  • huntr.dev/bounties/55517f19-5c28-4db2-8b00-f78f841e8aba
  • nvd.nist.gov/vuln/detail/CVE-2021-3692

Code Behaviors & Features

Detect and mitigate CVE-2021-3692 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.0.43

Fixed versions

  • 2.0.43

Solution

Upgrade to version 2.0.43 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values

Source file

packagist/yiisoft/yii2-dev/CVE-2021-3692.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.