Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.21 KB

3.6.2rc2.rst

File metadata and controls

39 lines (32 loc) · 1.21 KB

Prevent environment variables injection in subprocess on Windows. Prevent passing other environment variables and command arguments.

Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of multiple security vulnerabilities including: :cve:`2017-9233` (External entity infinite loop DoS), :cve:`2016-9063` (Integer overflow, re-fix), :cve:`2016-0718` (Fix regression bugs from 2.2.0's fix to :cve:`2016-0718`) and :cve:`2012-0876` (Counter hash flooding with SipHash). Note: the :cve:`2016-5300` (Use os-specific entropy sources like getrandom) doesn't impact Python, since Python already gets entropy from the OS to set the expat secret using XML_SetHashSalt().

Fix urllib.parse.splithost() to correctly parse fragments. For example, splithost('//127.0.0.1#@evil.com/') now correctly returns the 127.0.0.1 host, instead of treating @evil.com as the host in an authentication (login@host).