Skip to content

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

MediumCVSS 5.1 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
yiiframework yii2-redis < 2.0.20 2.0.20 Fixed
yiisoft/yii2-redis(Packagist) < 2.0.20; = 2.0.0; = 2.0.0-alpha; = 2.0.0-beta +20 more 2.0.20 Fixed
yiisoft/yii2-redis = < 2.0.20 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
yiisoft/yii2-redis(Packagist) < 2.0.20 2.0.20
yiisoft/yii2-redis(Packagist) = 2.0.0 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.0-alpha No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.0-beta No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.0-rc No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.1 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.10 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.11 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.12 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.13 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.14 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.15 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.16 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.17 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.18 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.19 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.2 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.3 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.4 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.5 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.6 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.7 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.8 No fix listed
yiisoft/yii2-redis(Packagist) = 2.0.9 No fix listed
yiisoft/yii2-redis = < 2.0.20 No fix listed
Show 1 more
ProductAffected versionsFixed in
yiiframework yii2-redis < 2.0.20 2.0.20

References