CVE-2025-48493
MEDIUM 5.1CVSS 4.0Yii 2 Redis may expose AUTH parameters in logs in case of connection failure
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.
- Published
- 5 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-532
- Also known as
- GHSA-g3p6-82vc-43jh
- Sources
- NVDJSONOSV GHSA-g3p6-82vc-43jhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yiiframework | yii2-rediscpe:2.3:a:yiiframework:yii2-redis:*:*:*:*:*:*:*:* |
< 2.0.20 | 2.0.20 |
| OSV | Packagist | yiisoft/yii2-redis | < 2.0.20 | 2.0.20 |
References
- https://github.com/yiisoft/yii2-redis/commit/962252d2c57c187181e67bb66da3f27b4698358d · Patch, WEB
- https://github.com/yiisoft/yii2-redis/security/advisories/GHSA-g3p6-82vc-43jh · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-48493 · ADVISORY
- https://github.com/yiisoft/yii2-redis · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Jun 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Jun 2025)