CVE-2025-48493
JSON

5.1medium

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

Severity
5.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.34% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-g3p6-82vc-43jh

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.

Affected

Product or packageVersionsReported by
yiisoft yii2-redis< 2.0.20CVE List
yiisoft/yii2-redis (Packagist)before 2.0.20GitHub Advisory Database
yiiframework yii2-redisbefore 2.0.20NVD

All scores

GitHub_M5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 Advisory Database
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.

NVD (es)

La extensión Redis de Yii 2 proporciona compatibilidad con el almacén de claves-valor de Redis para el framework Yii 2.0. Si falla la conexión, la extensión escribe la secuencia de comandos en los registros. Antes de la versión 2.0.20, los parámetros AUTH se escribían en texto plano, exponiendo el nombre de usuario y la contraseña. Esto podría ser un problema si un atacante tiene acceso a los registros. La versión 2.0.20 soluciona el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-48493 changed 2025-06-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-g3p6-82vc-43jh changed 2025-06-06CC-BY-4.0
NVDCVE-2025-48493 changed 2026-06-17Public domain