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

CVE-2021-3689: Use of Insufficiently Random Values

August 10, 2021 (updated April 25, 2022)

yii2 is vulnerable to use of predictable algorithm in a random number generator

References

  • nvd.nist.gov/vuln/detail/CVE-2021-3689

Code Behaviors & Features

Detect and mitigate CVE-2021-3689 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 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values

Source file

packagist/yiisoft/yii2-dev/CVE-2021-3689.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:41 +0000.