VYPR
Medium severity6.4NVD Advisory· Published Mar 6, 2025· Updated Apr 15, 2026

CVE-2025-1979

CVE-2025-1979

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
rayPyPI
< 2.43.02.43.0

Patches

2
64a2e4010522

[core] Redact redis password in log (#50409)

https://github.com/ray-project/rayLetao JiangFeb 11, 2025via ghsa
1 file changed · +4 1
  • python/ray/util/client/server/server.py+4 1 modified
    @@ -892,7 +892,10 @@ def main():
         )
     
         hostport = "%s:%d" % (args.host, args.port)
    -    logger.info(f"Starting Ray Client server on {hostport}, args {args}")
    +    args_str = str(args)
    +    if args.redis_password:
    +        args_str = args_str.replace(args.redis_password, "****")
    +    logger.info(f"Starting Ray Client server on {hostport}, args {args_str}")
         if args.mode == "proxy":
             server = serve_proxier(
                 hostport,
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.