The mirroring support (-M, –use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers to perform man-in-the-middle attacks.
References
https://nvd.nist.gov/vuln/detail/CVE-2013-5123
https://bugzil…