CVE-2025-1979: ray vulnerable to Insertion of Sensitive Information into Log File
Versions of the package ray before 2.43.0 are vulnerable to Insertion of Sensitive Information into Log File where the redis password is being logged in the standard logging. If the redis password is passed as an argument, it will be logged and could potentially leak the password.
This is only exploitable if:
Logging is enabled;
Redis is using password authentication;
Those logs are accessible to an attacker, who can reach that redis instance.
Note:
It is recommended that anyone who is running in this configuration should update to the latest version of Ray, then rotate their redis password.
References
- github.com/advisories/GHSA-w4rh-fgx7-q63m
- github.com/ray-project/ray
- github.com/ray-project/ray/commit/64a2e4010522d60b90c389634f24df77b603d85d
- github.com/ray-project/ray/issues/50266
- github.com/ray-project/ray/pull/50409
- nvd.nist.gov/vuln/detail/CVE-2025-1979
- security.snyk.io/vuln/SNYK-PYTHON-RAY-8745212
Detect and mitigate CVE-2025-1979 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →