Packagist (PHP)Worst: Critical2 advisories

yiisoft/yii2-redis: known vulnerabilities

yiisoft/yii2-redis has 2 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 moderate. The most recent was published 2025-06-05. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the yiisoft/yii2-redis versions running across your servers, containers and images, and ranks what to patch first.

How to fix yiisoft/yii2-redis

Upgrade yiisoft/yii2-redis to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require yiisoft/yii2-redis:^2.0.20 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Yii 2 Redis may expose AUTH parameters in logs in case of connection failure Moderate CWE-532 — Affected: before 2.0.20. Fixed in 2.0.20. Published 2025-06-05. GHSA-g3p6-82vc-43jh · CVE-2025-48493
yii2-redis Potential Remote code execution Critical 9.8 CWE-94 — Affected: before 2.0.8. Fixed in 2.0.8. Published 2018-03-21. GHSA-4hx3-m8w5-g5qh · CVE-2018-8073

Find yiisoft/yii2-redis across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.