nano-python
nano-python copied to clipboard
this pull request would update more dependencies than necessary, but do read the description for the minimum and you might cherry-pick those commits
urllib3 before 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the Authorization header to be exposed to unintended hosts or transmitted in cleartext.
The Requests package before 2.19.1 sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.
docs build is failing, last 3 commits should solve that too