Insertion of Sensitive Information into Log File Affecting yiisoft/yii2-redis package, versions <2.0.20


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-YIISOFTYII2REDIS-10304839
  • published6 Jun 2025
  • disclosed5 Jun 2025
  • creditUnknown

Introduced: 5 Jun 2025

NewCVE-2025-48493  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade yiisoft/yii2-redis to version 2.0.20 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File due to the logging of sensitive information during a connection failure. An attacker can gain access to sensitive data such as usernames and passwords by obtaining the logs where this information is stored in plain text.

References

CVSS Base Scores

version 4.0
version 3.1