Tag: Python
General Python runtime errors or stack traces.
ID | Title | Description | Category | Technology | Tags |
---|---|---|---|---|---|
CRE-2025-0028 Low Impact: 6/10 Mitigation: 1/10 | OpenTelemetry Python fails to detach context token across async boundaries | In OpenTelemetry Python, detaching a context token that was created in a different context can raise a `ValueError`. This occurs when asynchronous operations, such as generators or coroutines, are finalized in a different context than they were created, leading to context management errors and potential trace data loss. | Observability Problems | opentelemetry-python | OpentelemetryPythonContextvarsAsyncObservabilityPublic |
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 Problems | redis-py | RedisRedis PyPythonAsyncMultiprocessingContextAttributeerrorKnown IssuePublic |