Medium

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

  • Disclosed: 05.06.2025
  • Updated: 11.10.2026 10:22

Impact

On failing connection extension writes commands sequence to logs. AUTH parameters are written in plain text exposing username and password. That might be an issue if attacker has access to logs.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package yiisoft/yii2-redis < 2.0.20 2.0.20

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:H
Weakness (CWE)
CWE-532
Platform
Composer
Package
yiisoft/yii2-redis
Disclosed
05.06.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-g3p6-82vc-43jh - CC BY 4.0

Vulnerability history: yiisoft/yii2-redis

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
05.2022 06.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • Medium 1

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 0
  4. 2025: 1
  5. 2026: 0
  1. Yii 2 Redis may expose AUTH parameters in logs in case of connection failure this entry
    Medium CVE-2025-48493 < 2.0.20 2.0.20
  2. Critical · 9.8 CVE-2018-8073 < 2.0.8 2.0.8

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.