Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

[Security] Bump requests from 2.18.4 to 2.20.1 #13

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps requests from 2.18.4 to 2.20.1. This update includes security fixes.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects requests
The Requests package through 2.19.1 before 2018-09-14 for Python 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.

Affected versions: <= 2.19.1

Changelog

Sourced from requests's changelog.

2.20.1 (2018-11-08)

Bugfixes

  • Fixed bug with unintended Authorization header stripping for
    redirects using default ports (http/80, https/443).

2.20.0 (2018-10-18)

Bugfixes

  • Content-Type header parsing is now case-insensitive (e.g.
    charset=utf8 v Charset=utf8).
  • Fixed exception leak where certain redirect urls would raise
    uncaught urllib3 exceptions.
  • Requests removes Authorization header from requests redirected
    from https to http on the same hostname. (CVE-2018-18074)
  • should_bypass_proxies now handles URIs without hostnames (e.g.
    files).

Dependencies

  • Requests now supports urllib3 v1.24.

Deprecations

  • Requests has officially stopped support for Python 2.6.

2.19.1 (2018-06-14)

Bugfixes

  • Fixed issue where status_codes.py's init function failed trying
    to append to a __doc__ value of None.

2.19.0 (2018-06-12)

Improvements

  • Warn user about possible slowdown when using cryptography version
    < 1.3.4
  • Check for invalid host in proxy URL, before forwarding request to
    adapter.
  • Fragments are now properly maintained across redirects. (RFC7231
    7.1.2)
  • Removed use of cgi module to expedite library load time.
... (truncated)
Commits
  • 6cfbe1a v2.20.1
  • c501ec9 Merge pull request #4853 from mainanick/master
  • 045b706 Merge pull request #2 from requests/master
  • ccbffe5 Incorrect ValueError Message
  • eaab47f Merge pull request #4851 from requests/default_port_handling
  • ea9436a proper handling for default ports in auth stripping
  • 3a831be Merge pull request #1 from requests/master
  • 7c812e9 Merge pull request #4839 from rabdill/patch-1
  • 5fdc25b Reverting redirect examples back to intended URLs
  • d2962f1 update maintainer contact info
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [requests](https://github.com/requests/requests) from 2.18.4 to 2.20.1. **This update includes security fixes.**
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.md)
- [Commits](psf/requests@v2.18.4...v2.20.1)

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies security Pull requests that address a security vulnerability labels Nov 9, 2018
@codecov
Copy link

codecov bot commented Nov 9, 2018

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #13   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines          52     52           
=====================================
  Hits           52     52

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbd619d...12e1ed8. Read the comment docs.

@dependabot-preview
Copy link
Author

Superseded by #14.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/requests-2.20.1 branch December 11, 2018 02:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant