INCIDENT MAP

Browse / Sensitive Data Disclosure / CVE-2025-1979

ray vulnerable to Insertion of Sensitive Information into Log File

CVE-2025-1979 ยท 2025-03-06 moderate

Class
Sensitive Data Disclosure (filed by a model that read the advisory)
Technique
Information exposure
Affected
ray (PyPI)
CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
EPSS
0.2% chance of exploitation in 30 days

How it works, in short

Redis passwords passed as arguments are written to standard logs, so anyone who can read those logs can recover the credential. (Our summary, written by a model. The source text is below.)

Details

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:

1) Logging is enabled;

2) Redis is using password authentication;

3) 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

Source: GitHub Advisory Database, used under CC BY 4.0.