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://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-5123
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2013-5123
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155248.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155291.html
- http://www.openwall.com/lists/oss-security/2013/08/21/17
- http://www.openwall.com/lists/oss-security/2013/08/21/18
- https://github.com/advisories/GHSA-c5h8-cq4v-cvfm