CVE-2025-48493

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

Published Jun 5, 2025 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-17007 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.
Github GHSA Github GHSA GHSA-g3p6-82vc-43jh Yii 2 Redis may expose AUTH parameters in logs in case of connection failure
History
Type Values Removed Values Added
First Time appeared Yiiframework
Yiiframework yii2-redis
CPEs cpe:2.3:a:yiiframework:yii2-redis:*:*:*:*:*:*:*:*
Vendors & Products Yiiframework
Yiiframework yii2-redis
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Yii 2 Redis may expose AUTH paramters in logs in case of connection failure
Weaknesses CWE-532
References
Metrics cvssV4_0

{'score': 5.1, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 9, 2025, 8:52 PM
Reserved
May 22, 2025, 12:11 PM
Status
Analyzed
Published
Jun 5, 2025, 5:15 PM
Modified
Jun 17, 2026, 9:29 AM