Buffer overflow in the getaddrinfo function in Python 2.2 before 2.2.2, when IPv6 support is disabled, allows remote attackers to execute arbitrary code via an IPv6 address that is obtained using DNS.
https://exchange.xforce.ibmcloud.com/vulnerabilities/15409
http://www.securityfocus.com/bid/9836