Twisted before 16.3.1 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect CGI applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect a CGI application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue.
https://www.openwall.com/lists/oss-security/2016/07/18/6
https://twistedmatrix.com/trac/ticket/8623
https://twistedmatrix.com/pipermail/twisted-web/2016-August/005268.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html