pivotal / blog

Pivotal Engineering Blog
https://engineering.pivotal.io/
40 stars 48 forks source link

[Security] Bump sinatra from 2.0.1 to 2.0.5 in /pushpop #234

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps sinatra from 2.0.1 to 2.0.5. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The Ruby Advisory Database](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2018-11627.yml).* > **XSS via the 400 Bad Request page** > Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception. > > Patched versions: >= 2.0.2 > Unaffected versions: < 2.0.0 *Sourced from [The Ruby Advisory Database](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2018-11627.yml).* > **XSS via the 400 Bad Request page** > Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception. > > Patched versions: >= 2.0.2 > Unaffected versions: < 2.0.0.beta1; 2.0.0-alpha
Changelog *Sourced from [sinatra's changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md).* > ## 2.0.5 / 2018-12-22 > > * Avoid FrozenError when params contains frozen value [#1506](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1506) by Kunpei Sakai > > * Add support for Erubi [#1494](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1494) by [@​tkmru](https://github.com/tkmru) > > * `IndifferentHash` monkeypatch warning improvements [#1477](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1477) by Mike Pastore > > * Improve development support and documentation and source code by Anusree Prakash, Jordan Owens, [@​ceclinux](https://github.com/ceclinux) and [@​krororo.](https://github.com/krororo.) > > ### sinatra-contrib > > * Add `flush` option to `content_for` [#1225](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1225) by Shota Iguchi > > * Drop activesupport dependency from sinatra-contrib [#1448](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1448) > > * Update `yield_content` to append default to ERB template buffer [#1500](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1500) by Jordan Owens > > ### rack-protection > > * Don't track the Accept-Language header by default [#1504](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1504) by Artem Chistyakov > > ## 2.0.4 / 2018-09-15 > > * Don't blow up when passing frozen string to `send_file` disposition [#1137](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1137) by Andrew Selder > > * Fix ubygems LoadError [#1436](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1436) by Pavel Rosický > > * Unescape regex captures [#1446](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1446) by Jordan Owens > > * Slight performance improvements for IndifferentHash [#1427](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1427) by Mike Pastore > > * Improve development support and documentation and source code by Will Yang, Jake Craige, Grey Baker and Guilherme Goettems Schneider > > ## 2.0.3 / 2018-06-09 > > * Fix the backports gem regression [#1442](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1442) by Marc-André Lafortune > > ## 2.0.2 / 2018-06-05 > > * Escape invalid query parameters [#1432](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1432) by Kunpei Sakai > * The patch fixes [CVE-2018-11627](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11627). > > * Fix undefined method error for `Sinatra::RequiredParams` with hash key [#1431](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1431) by Arpit Chauhan > > * Add xml content-types to valid html_types for Rack::Protection [#1413](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1413) by Reenan Arbitrario > > * Encode route parameters using :default_encoding setting [#1412](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1412) by Brian m. Carlson > > * Fix unpredictable behaviour from Sinatra::ConfigFile [#1244](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1244) by John Hope > ... (truncated)
Commits - [`7a5c499`](https://github.com/sinatra/sinatra/commit/7a5c499f0e6099137fd1cb4ee20178af2a125d47) 2.0.5 release - [`af70671`](https://github.com/sinatra/sinatra/commit/af70671a43a1c0552858f9cc3ff3a420b87a46ce) bump version to 2.0.5 - [`6f9d703`](https://github.com/sinatra/sinatra/commit/6f9d703c94df22fc23b03a9aead5880b5c3de23d) update changelog for v2.0.5 - [`69956da`](https://github.com/sinatra/sinatra/commit/69956da995b1a4c06b481431129e3e516800a0e2) follow up [#1225](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1225) - [`84b290a`](https://github.com/sinatra/sinatra/commit/84b290aa9ca5a164931ed9cca770751815309d61) Merge pull request [#1225](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1225) from iguchi1124/flush-content-for - [`d75c242`](https://github.com/sinatra/sinatra/commit/d75c2428bcb35973d8630074c24bda9c4ae34e23) Merge branch 'master' into flush-content-for - [`d83845e`](https://github.com/sinatra/sinatra/commit/d83845e44b8733556af221960398d58430f210be) Merge pull request [#1502](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1502) from jkowens/refactor_capture - [`0efc51e`](https://github.com/sinatra/sinatra/commit/0efc51e39e04ad478f01c45515aaee5b569b6d36) Refactor capture method - [`9057b70`](https://github.com/sinatra/sinatra/commit/9057b70664787221512a2f751e2e5c73eab3613c) Merge pull request [#1506](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1506) from sinatra/fix-1478 - [`38e5d63`](https://github.com/sinatra/sinatra/commit/38e5d6332a35f996c76dd553f6ccce53df39241e) Merge pull request [#1504](https://github-redirect.dependabot.com/sinatra/sinatra/issues/1504) from temochka/websocket-empty-sessions - Additional commits viewable in [compare view](https://github.com/sinatra/sinatra/compare/v2.0.1...v2.0.5)


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 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 #242.