Advisory

PYSEC-2025-23

Also known as: CVE-2025-1979, GHSA-w4rh-fgx7-q63m

Summary

The record has no summary.

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;
  1. Redis is using password authentication;
  1. 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.

Severity

Not rated by the source.

Dates

Published
2025-03-06 05:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

ray

PyPI · All systems

Affected

  • introduced 0, fixed 2.43.0 (ecosystem)

Fixed versions

2.43.0

Fix

  • Fixed version 2.43.0
    pip install --upgrade ray==2.43.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences