Skip to main content

Technology: redis-py

IDTitleDescriptionCategoryTechnologyTags
CRE-2025-0041
Low
Impact: 5/10
Mitigation: 4/10
redis-py client fails with AttributeError when reused across async or process contexts- In redis-py v5.x, sharing a single Redis client across async tasks or subprocesses can result in: - `AttributeError: ''NoneType'' object has no attribute ''getpid''`. - This typically occurs when the client or connection pool is reused across forks or when event loop context is lost, especially in async frameworks or multiprocessing setups.Cache Problemsredis-pyRedisRedis PyPythonAsyncMultiprocessingContextAttributeerrorKnown IssuePublic