MediumGHSA-wwvv-x5mq-h3jjCVE-2021-3692

Use of Cryptographically Weak Pseudo-Random Number Generator in yiisoft/yii2-dev

Published 1 Sept 2021 · Updated 8 Nov 2023

Affected package

Affected
<2.0.43
Fixed in
2.0.43
Update to the fixed version for your release line, for example:composer require yiisoft/yii2-dev:^2.0.43

Details

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

Is GHSA-wwvv-x5mq-h3jj in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected yiisoft/yii2-dev, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.