Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Bump werkzeug from 0.12.2 to 0.15.3 #48

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

Conversation

dependabot-preview[bot]
Copy link

Bumps werkzeug from 0.12.2 to 0.15.3. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

High severity vulnerability that affects werkzeug
Pallets Werkzeug before 0.15.3, when used with Docker, has insufficient debugger PIN randomness because Docker containers share the same machine id.

Affected versions: < 0.15.3

Release notes

Sourced from werkzeug's releases.

0.15.3

0.15.2

0.15.1

0.15.0

0.13

Read the announcement here.

Read the full changelog.

Install from PyPI with pip:

pip install -U Werkzeug
Changelog

Sourced from werkzeug's changelog.

Version 0.15.3

Released 2019-05-14

  • Properly handle multi-line header folding in development server in Python 2.7. (1080)
  • Restore the response argument to ~exceptions.Unauthorized. (1527)
  • ~exceptions.Unauthorized doesn't add the WWW-Authenticate header if www_authenticate is not given. (1516)
  • The default URL converter correctly encodes bytes to string rather than representing them with b''. (1502)
  • Fix the filename format string in ~middleware.profiler.ProfilerMiddleware to correctly handle float values. (1511)
  • Update ~middleware.lint.LintMiddleware to work on Python 3. (1510)
  • The debugger detects cycles in chained exceptions and does not time out in that case. (1536)
  • When running the development server in Docker, the debugger security pin is now unique per container.

Version 0.15.2

Released 2019-04-02

  • Rule code generation uses a filename that coverage will ignore. The previous value, "generated", was causing coverage to fail. (1487)
  • The test client removes the cookie header if there are no persisted cookies. This fixes an issue introduced in 0.15.0 where the cookies from the original request were used for redirects, causing functions such as logout to fail. (1491)
  • The test client copies the environ before passing it to the app, to prevent in-place modifications from affecting redirect requests. (1498)
  • The "werkzeug" logger only adds a handler if there is no handler configured for its level in the logging chain. This avoids double logging if other code configures logging first. (1492)

Version 0.15.1

Released 2019-03-21

  • ~exceptions.Unauthorized takes description as the first argument, restoring previous behavior. The new www_authenticate argument is listed second. (1483)

Version 0.15.0

Released 2019-03-19

  • Building URLs is ~7x faster. Each ~routing.Rule compiles an optimized function for building itself. (1281)
  • MapAdapter.build() <routing.MapAdapter.build> can be passed a ~datastructures.MultiDict to represent multiple values for a key. It already did this when passing a dict with a list value. (724)
  • path_info defaults to '/' for Map.bind() <routing.Map.bind>. (740, 768, 1316)
  • Change RequestRedirect code from 301 to 308, preserving the verb and request body (form data) during redirect. (1342)
  • int and float converters in URL rules will handle negative values if passed the signed=True parameter. For example, /jump/<int(signed=True):count>. (1355)
  • Location autocorrection in Response.get_wsgi_headers()
    <wrappers.BaseResponse.get_wsgi_headers> is relative to the current path rather than the root path. (693, 718, 1315)
  • 412 responses once again include entity headers and an error message in the body. They were originally omitted when implementing If-Match (1233), but the spec doesn't seem to disallow it. (1231, 1255)
  • The Content-Length header is removed for 1xx and 204 responses. This fixes a previous change where no body would be sent, but the header would still be present. The new behavior matches RFC 7230. (1294)
  • ~exceptions.Unauthorized takes a www_authenticate parameter to set the WWW-Authenticate header for the response, which is technically required for a valid 401 response. (772, 795)
  • Add support for status code 424 ~exceptions.FailedDependency. (1358)
  • http.parse_cookie ignores empty segments rather than producing a cookie with no key or value. (1245, 1301)
  • ~http.parse_authorization_header (and ~datastructures.Authorization, ~wrappers.Request.authorization) treats the authorization header as UTF-8. On Python 2, basic auth username and password are unicode. (1325)
  • ~http.parse_options_header understands 2231 parameter continuations. (1417)
... (truncated)
Commits
  • 9b1123a release version 0.15.3
  • 00bc43b unique debugger pin in Docker containers
  • 2cbdf2b Merge pull request #1542 from asottile/exceptions_arent_always_hashable
  • 0e669f6 Fix unhashable exception types
  • bdc17e4 Merge pull request #1540 from pallets/break-tb-cycle
  • 44e38c2 break cycle in chained exceptions
  • 777500b Merge pull request #1518 from NiklasMM/fix/1510_lint-middleware-python3-compa...
  • e00c7c2 Make LintMiddleware Python 3 compatible and add tests
  • d590cc7 Merge pull request #1539 from pallets/profiler-format
  • 0388fc9 update filename_format for ProfilerMiddleware.
  • 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)
  • 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 [werkzeug](https://github.com/pallets/werkzeug) from 0.12.2 to 0.15.3. **This update includes a security fix.**
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/master/CHANGES.rst)
- [Commits](pallets/werkzeug@0.12.2...0.15.3)

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 Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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