PyPI: twisted
CVE-2016-1000111
Safety vulnerability ID: SFTY-20200311-12873
Safety legacy ID: pyup.io-38551
Twisted Web 16.4.0 includes the following three security fixes: - A bug in twisted.web.server.Site.makeSession which may lead to predictable session IDs was fixed. Session IDs are now generated securely using `os.urandom`. - twisted.web.server.Request.getSession will now, for a request sent over HTTPS, set a "Secure" cookie, preventing the secure session from being sent over plain-text HTTP. - twisted.web.twcgi.CGIScript will now not pass the "Proxy" header to CGI scripts, as a mitigation to CVE-2016-1000111.
Overview
Forced Browsing in Twisted
Advisory
Twisted Web 16.4.0 includes the following three security fixes: - A bug in twisted.web.server.Site.makeSession which may lead to predictable session IDs was fixed. Session IDs are now generated securely using `os.urandom`. - twisted.web.server.Request.getSession will now, for a request sent over HTTPS, set a "Secure" cookie, preventing the secure session from being sent over plain-text HTTP. - twisted.web.twcgi.CGIScript will now not pass the "Proxy" header to CGI scripts, as a mitigation to CVE-2016-1000111.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20200311-12873/CVE-2016-1000111
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000111
- https://twistedmatrix.com/pipermail/twisted-web/2016-August/005268.html
- https://twistedmatrix.com/trac/ticket/8623
- https://www.openwall.com/lists/oss-security/2016/07/18/6
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2020-214.yaml
- https://github.com/advisories/GHSA-3gqj-cmxr-p4x2
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
