Advisory

GHSA-w4rh-fgx7-q63m

Also known as: CVE-2025-1979, PYSEC-2025-23

Summary

ray vulnerable to Insertion of Sensitive Information into Log File

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-06 06:30 UTC
Modified
2026-09-10 03:50 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences