yiisoft/yii2-redis vulnerabilities

Redis Cache, Session and ActiveRecord for the Yii framework

Registry
Composer
Latest
2.1.2
License
BSD-3-Clause

2 known advisories

The latest version, 2.1.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require yiisoft/yii2-redis:^2.1.2

Is your project on an affected yiisoft/yii2-redis?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for yiisoft/yii2-redis

  • MediumCVE-2025-48493GHSA-g3p6-82vc-43jh5 Jun 2025

    Yii 2 Redis may expose AUTH parameters in logs in case of connection failure

    Affected
    <2.0.20
    Fixed in
    2.0.20
  • CriticalCVE-2018-8073GHSA-4hx3-m8w5-g5qh14 May 2022

    yii2-redis Potential Remote code execution

    Affected
    <2.0.8
    Fixed in
    2.0.8

Is your yiisoft/yii2-redis version vulnerable?

Which of your client projects still run an old yiisoft/yii2-redis?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.