VDB
Sign up
MEDIUM5.3

GHSA-wwvv-x5mq-h3jj

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

Quick fix

GHSA-wwvv-x5mq-h3jj — yiisoft/yii2-dev: upgrade to the fixed version with the command below.

composer require yiisoft/yii2-dev:^2.0.43

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/yiisoft/yii2-dev
Introduced in: 0Fixed in: 2.0.43
Fixcomposer require yiisoft/yii2-dev:^2.0.43

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/yiisoft/yii2-dev"]}'