redis / redis-py

Redis Python client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redis-py ssl support susceptible to MITM attacks by default

u2mejc opened this issue · comments

Issue: redis-py doesn't enforce hostname validation (Common Name nor Subject Alternative Name) by default when accepting a cert from a remote SSL terminator. This default behavior isn't compatible to accepted PEPs/RFCs and provides a dangerous sense of false security.

Task: Correct redis-py to validate certificates by default. IMHO this shouldn't be considered a breaking change as it simply reenforces the expected results when initiating a SSL connection.

Additional research: