p PatchFirst

CVE-2025-48493

CVE-2025-48493 · Yii 2 Redis may expose AUTH paramters in logs in case of connection failure

This page contains facts from public vulnerability sources. Check the original advisory before updating.

The Yii 2 Redis extension provides the redis key-value store support for the Yii framework 2.0. On failing connection, the extension writes commands sequence to logs. Prior to version 2.0.20, AUTH parameters are written in plain text exposing username and password. That might be an issue if attacker has access to logs. Version 2.0.20 fixes the issue.

CVSS 5.1 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • yii2-redis

    Versions
    • < 2.0.20: Affected

    No fix published

  • yiisoft/yii2-redis Packagist

    Versions
    • 2.0.0
    • 2.0.0-alpha
    • 2.0.0-beta
    • 2.0.0-rc
    • 2.0.1
    • 2.0.10
    • 2.0.11
    • 2.0.12
    • 2.0.13
    • 2.0.14
    • 2.0.15
    • 2.0.16
    • 2.0.17
    • 2.0.18
    • 2.0.19
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    Affected ranges
    • ECOSYSTEM: < 2.0.20

    Update to 2.0.20

Original sources

Check your server →