Skip to content

Commit 2452462

Browse files
mitchh456claude
andcommitted
Audit redis instrumentation for CVE in redis-py < 7.4.0 password leak
redis-py < 7.4.0 exposed passwords in ConnectionPool.__repr__(). Scout APM only wraps Redis.execute_command() and Pipeline.execute() and never accesses ConnectionPool.__repr__(), so we are not affected. Add a security note documenting this finding. Closes #841 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 58a6eed commit 2452462

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/scout_apm/instruments/redis.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# coding=utf-8
22

3+
# Security note (redis-py 7.4.0, see https://github.com/scoutapp/scout_apm_python/issues/841):
4+
# redis-py < 7.4.0 leaked passwords in ConnectionPool.__repr__().
5+
# Scout APM is NOT affected: we only wrap Redis.execute_command() and
6+
# Pipeline.execute() and never call or log ConnectionPool.__repr__().
7+
38
import logging
49

510
import wrapt

0 commit comments

Comments
 (0)