EFForg / call-congress

a simple server that connects calls between citizens and their congress person using the Twilio API
GNU Affero General Public License v3.0
34 stars 6 forks source link

[Security] Bump flask from 0.10.1 to 0.12.3 in /requirements #33

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps flask from 0.10.1 to 0.12.3. This update includes security fixes.

Vulnerabilities fixed *Sourced from The GitHub Security Advisory Database.* > **Moderate severity vulnerability that affects flask** > The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in flask that can result in Large amount of memory usage possibly leading to denial of service. This attack appear to be exploitable via Attacker provides JSON data in incorrect encoding. This vulnerability appears to have been fixed in 0.12.3. > > Affected versions: < 0.12.3
Release notes *Sourced from [flask's releases](https://github.com/pallets/flask/releases).* > ## 0.12.3 > This release includes an important security fix for JSON and a minor backport for CLI support in PyCharm. It is provided for projects that cannot update to Flask 1.0 immediately. See the [1.0 announcement](https://github.com/pallets/flask/blob/flask-1-0-released) and update to it instead if possible. > > > JSON Security Fix > ------------------ > > Flask previously decoded incoming JSON bytes using the content type of the request. Although JSON should only be encoded as UTF-8, Flask was more lenient. However, Python includes non-text related encodings that could result in unexpected memory use by a request. > > Flask will now detect the encoding of incoming JSON data as one of the supported UTF encodings, and will not allow arbitrary encodings from the request. > > > Upgrade > -------- > > Upgrade from [PyPI](https://pypi.org/project/Flask/) with pip. Use a version identifier if you want to stay at 0.12: > > pip install -U 'Flask~=0.12.3' > > Or upgrade to 1.0: > > pip install -U Flask
Changelog *Sourced from [flask's changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst).* > Version 0.12.3 > ============== > > Released on April 26th 2018 > > - Request.get\_json no longer accepts arbitrary encodings. Incoming JSON should be encoded using UTF-8 per 8259, but Flask will autodetect UTF-8, -16, or -32. ([\#2692](https://github-redirect.dependabot.com/pallets/flask/issues/2692)) > - Fix a Python warning about imports when using `python -m flask`. ([\#2666](https://github-redirect.dependabot.com/pallets/flask/issues/2666)) > - Fix a `ValueError` caused by invalid `Range` requests in some cases. > > Version 0.12.2 > ============== > > Released on May 16 2017 > > - Fix a bug in safe\_join on Windows. > > Version 0.12.1 > ============== > > Bugfix release, released on March 31st 2017 > > - Prevent flask run from showing a NoAppException when an ImportError occurs within the imported application module. > - Fix encoding behavior of `app.config.from_pyfile` for Python 3. Fix `[#2118](https://github-redirect.dependabot.com/pallets/flask/issues/2118)`. > - Use the `SERVER_NAME` config if it is present as default values for `app.run`. `[#2109](https://github-redirect.dependabot.com/pallets/flask/issues/2109)`, `[#2152](https://github-redirect.dependabot.com/pallets/flask/issues/2152)` > - Call ctx.auto\_pop with the exception object instead of None, in the event that a BaseException such as KeyboardInterrupt is raised in a request handler. > > Version 0.12 > ============ > > Released on December 21st 2016, codename Punsch. > > - the cli command now responds to --version. > - Mimetype guessing and ETag generation for file-like objects in `send_file` has been removed, as per issue `[#104](https://github-redirect.dependabot.com/pallets/flask/issues/104)`. ([\#1849](https://github-redirect.dependabot.com/pallets/flask/pull/1849)) > - Mimetype guessing in `send_file` now fails loudly and doesn't fall back to `application/octet-stream`. ([\#1988](https://github-redirect.dependabot.com/pallets/flask/pull/1988)) > - Make `flask.safe_join` able to join multiple paths like `os.path.join` ([\#1730](https://github-redirect.dependabot.com/pallets/flask/pull/1730)). > - Revert a behavior change that made the dev server crash instead of returning an Internal Server Error ([\#2006](https://github-redirect.dependabot.com/pallets/flask/pull/2006)). > - Correctly invoke response handlers for both regular request dispatching as well as error handlers. > - Disable logger propagation by default for the app logger. > - Add support for range requests in `send_file`. > - `app.test_client` includes preset default environment, which can now be directly set, instead of per `client.get`. > > Version 0.11.2 > ============== > > Bugfix release, unreleased > > - Fix crash when running under PyPy3. ([\#1814](https://github-redirect.dependabot.com/pallets/flask/pull/1814)) > > Version 0.11.1 > ============== > ... (truncated)
Commits - [`1a9e58e`](https://github.com/pallets/flask/commit/1a9e58e8c97c47c969736d46410f724f4e834f54) Bump version number to 0.12.3 - [`63deee0`](https://github.com/pallets/flask/commit/63deee0a8b0963f1657e2d327773d65632a387d3) release 0.12.3 - [`22992a0`](https://github.com/pallets/flask/commit/22992a0d533f7f68e9fa1845c86dae230d8ff9ba) add donate link - [`44dc322`](https://github.com/pallets/flask/commit/44dc32243e486364ebffde6afc8583c68ea874c0) add donate link - [`84efe4d`](https://github.com/pallets/flask/commit/84efe4de773ca564cf4a2aecb31cf01779906354) enable intersphinx - [`0ff3f72`](https://github.com/pallets/flask/commit/0ff3f722c1c22399d3c755090901fe0250ca9b50) Merge pull request [#2710](https://github-redirect.dependabot.com/pallets/flask/issues/2710) from davidism/0.12-docs-theme - [`679bf00`](https://github.com/pallets/flask/commit/679bf0014f298a1ab8f989989fa430f69d9e28c0) use theme provided by pallets-sphinx-themes - [`b354c37`](https://github.com/pallets/flask/commit/b354c37e57d1c27bbc929e2103570b4439a913ed) add changelog for 0.12.3 - [`b178e89`](https://github.com/pallets/flask/commit/b178e89e4456e777b1a7ac6d7199052d0dfdbbbe) Merge pull request [#2695](https://github-redirect.dependabot.com/pallets/flask/issues/2695) from pallets/backport-2691-json-encoding - [`0e1e9a0`](https://github.com/pallets/flask/commit/0e1e9a04aaf29ab78f721cfc79ac2a691f6e3929) detect UTF encodings when loading json - Additional commits viewable in [compare view](https://github.com/pallets/flask/compare/0.10.1...0.12.3)


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 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](https://app.dependabot.com): - 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.
dependabot-preview[bot] commented 5 years ago

Superseded by #34.