CVE-2025-1979: ray vulnerable to Insertion of Sensitive Information into Log File

CVE-2025-1979 · Severity: low · CVSS 3.1 · Published 2025-03-06

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.

Technologies: ray (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-1979 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-1979 being exploited in the wild.
How severe is CVE-2025-1979?
Low severity, with a CVSS score of 3.1, published 6 March 2025.
Which products and versions are affected?
ray (PyPI) ECOSYSTEM:introduced=0,fixed=2.43.0, GIT:introduced=0,fixed=64a2e4010522d60b90c389634f24df77b603d85d|ECOSYSTEM:introduced=0,fixed=2.43.0.
Is there a fix for CVE-2025-1979?
Yes. ray (PyPI): upgrade to 2.43.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-1979?
Check whether you run ray (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ray (PyPI): upgrade to 2.43.0 or later
    pip install "ray>=2.43.0"

Affected products

  • ray (PyPI) ECOSYSTEM:introduced=0,fixed=2.43.0, GIT:introduced=0,fixed=64a2e4010522d60b90c389634f24df77b603d85d|ECOSYSTEM:introduced=0,fixed=2.43.0

Identifiers

  • CVE-2025-1979
  • GHSA-w4rh-fgx7-q63m
  • PYSEC-2025-23

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.