[Security] Bump werkzeug from 0.10.4 to 0.15.3 in /requirements
Bumps werkzeug from 0.10.4 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
- Blog: https://palletsprojects.com/blog/werkzeug-0-15-3-released/
- Changes: https://werkzeug.palletsprojects.com/en/0.15.x/changes/#version-0-15-3
0.15.2
- Blog: https://palletsprojects.com/blog/werkzeug-0-15-2-released/
- Changes: https://werkzeug.palletsprojects.com/en/0.15.x/changes/#version-0-15-2
0.15.1
- Blog: https://palletsprojects.com/blog/werkzeug-0-15-1-released/
- Changes: https://werkzeug.palletsprojects.com/en/0.15.x/changes/
0.15.0
- Blog: https://palletsprojects.com/blog/werkzeug-0-15-0-released/
- Changes: https://werkzeug.palletsprojects.com/en/0.15.x/changes/
0.13
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
responseargument to ~exceptions.Unauthorized. (1527)- ~exceptions.Unauthorized doesn't add the
WWW-Authenticateheader ifwww_authenticateis 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
Rulecode 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
descriptionas the first argument, restoring previous behavior. The newwww_authenticateargument is listed second. (1483)Version 0.15.0
Released 2019-03-19
... (truncated)
- 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_infodefaults to'/'for Map.bind() <routing.Map.bind>. (740, 768, 1316)- Change
RequestRedirectcode from 301 to 308, preserving the verb and request body (form data) during redirect. (1342)intandfloatconverters in URL rules will handle negative values if passed thesigned=Trueparameter. For example,/jump/<int(signed=True):count>. (1355)Locationautocorrection 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_authenticateparameter to set theWWW-Authenticateheader 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)
Commits
-
9b1123arelease version 0.15.3 -
00bc43bunique debugger pin in Docker containers -
2cbdf2bMerge pull request #1542 from asottile/exceptions_arent_always_hashable -
0e669f6Fix unhashable exception types -
bdc17e4Merge pull request #1540 from pallets/break-tb-cycle -
44e38c2break cycle in chained exceptions -
777500bMerge pull request #1518 from NiklasMM/fix/1510_lint-middleware-python3-compa... -
e00c7c2Make LintMiddleware Python 3 compatible and add tests -
d590cc7Merge pull request #1539 from pallets/profiler-format -
0388fc9update filename_format for ProfilerMiddleware. - Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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.