Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

[Security] Bump pip from 7.1.2 to 19.2 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps pip from 7.1.2 to 19.2. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Path Traversal in pip The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py.

Affected versions: < 19.2

Changelog

Sourced from pip's changelog.

19.2 (2019-07-22)

Deprecations and Removals

  • Drop support for EOL Python 3.4. (#6685)
  • Improve deprecation messages to include the version in which the functionality will be removed. (#6549)

Features

  • Credentials will now be loaded using keyring when installed. (#5948)
  • Fully support using --trusted-host inside requirements files. (#3799)
  • Update timestamps in pip's --log file to include milliseconds. (#6587)
  • Respect whether a file has been marked as "yanked" from a simple repository (see PEP 592 for details). (#6633)
  • When choosing candidates to install, prefer candidates with a hash matching one of the user-provided hashes. (#5874)
  • Improve the error message when METADATA or PKG-INFO is None when accessing metadata. (#5082)
  • Add a new command pip debug that can display e.g. the list of compatible tags for the current Python. (#6638)
  • Display hint on installing with --pre when search results include pre-release versions. (#5169)
  • Report to Warehouse that pip is running under CI if the PIP_IS_CI environment variable is set. (#5499)
  • Allow --python-version to be passed as a dotted version string (e.g. 3.7 or 3.7.3). (#6585)
  • Log the final filename and SHA256 of a .whl file when done building a wheel. (#5908)
  • Include the wheel's tags in the log message explanation when a candidate wheel link is found incompatible. (#6121)
  • Add a --path argument to pip freeze to support --target installations. (#6404)
  • Add a --path argument to pip list to support --target installations. (#6551)

Bug Fixes

  • Set sys.argv[0] to the underlying setup.py when invoking setup.py via the setuptools shim so setuptools doesn't think the path is -c. (#1890)
  • Update pip download to respect the given --python-version when checking "Requires-Python". (#5369)
  • Respect --global-option and --install-option when installing from a version control url (e.g. git). (#5518)
  • Make the "ascii" progress bar really be "ascii" and not Unicode. (#5671)
  • Fail elegantly when trying to set an incorrectly formatted key in config. (#5963)
  • Prevent DistutilsOptionError when prefix is indicated in the global environment and --target is used. (#6008)
  • Fix pip install to respect --ignore-requires-python when evaluating links. (#6371)
  • Fix a debug log message when freezing an editable, non-version controlled requirement. (#6383)
  • Extend to Subversion 1.8+ the behavior of calling Subversion in interactive mode when pip is run interactively. (#6386)
  • Prevent pip install <url> from permitting directory traversal if e.g. a malicious server sends a Content-Disposition header with a filename containing ../ or ..\\. (#6413)
  • Hide passwords in output when using --find-links. (#6489)
  • Include more details in the log message if pip freeze can't generate a requirement string for a particular distribution. (#6513)
  • Add the line number and file location to the error message when reading an invalid requirements file in certain situations. (#6527)
  • Prefer os.confstr to ctypes when extracting glibc version info. (#6543, #6675)
  • Improve error message printed when an invalid editable requirement is provided. (#6648)
  • Improve error message formatting when a command errors out in a subprocess. (#6651)

Vendored Libraries

... (truncated)

Commits
  • 0e64295 Generate NEWS
  • 0df416d Bump version for release
  • 5f0aa2a Generate AUTHORS.txt
  • 8582f7e Reduce dependency on ctypes when discovering glibc version. (#6678)
  • e308497 Merge pull request #6743 from chrahunt/maint/remove-path-copytree
  • 9281a7a Remove copytree from tests.lib.path.Path.
  • 0d28601 Remove copy from tests.lib.path.Path. (#6746)
  • c275e9d Drop a useless import in favor of explicitness
  • 3732e79 Remove normpath from tests.lib.path.Path.
  • 358e690 Remove move from tests.lib.path.Path.
  • 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.


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 squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
  • 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)

Bumps [pip](https://github.com/pypa/pip) from 7.1.2 to 19.2. **This update includes a security fix.**
- [Release notes](https://github.com/pypa/pip/releases)
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](pypa/pip@7.1.2...19.2)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants