Skip to content

[Security] Bump sinatra from 2.0.0 to 2.0.7#97

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/sinatra-2.0.7
Closed

[Security] Bump sinatra from 2.0.0 to 2.0.7#97
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/sinatra-2.0.7

Conversation

@dependabot-preview

Copy link
Copy Markdown

Bumps sinatra from 2.0.0 to 2.0.7. This update includes security fixes.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

sinatra ruby gem path traversal via backslash characters on Windows
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb
in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash
characters.

Patched versions: >= 2.0.1
Unaffected versions: < 2.0.0

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects sinatra
An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.

Affected versions: = 2.0.0

Sourced from The Ruby Advisory Database.

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.

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.

2.0.7 / 2019-08-22

  • Fix a regression #1560 by Kunpei Sakai

2.0.6 / 2019-08-21

  • Fix an issue setting environment from command line option #1547, #1554 by Jordan Owens, Kunpei Sakai

  • Support pandoc as a new markdown renderer #1533 by Vasiliy

  • Remove outdated code for tilt 1.x #1532 by Vasiliy

  • Remove an extra logic for force_encoding #1527 by Jordan Owens

  • Avoid multiple errors even if params contains special values #1526 by Kunpei Sakai

  • Support bundler/inline with require 'sinatra' integration #1520 by Kunpei Sakai

  • Avoid TypeError when params contain a key without a value on Ruby < 2.4 #1516 by Samuel Giddins

  • Improve development support and documentation and source code by Olle Jonsson, Basavanagowda Kanur, Yuki MINAMIYA

2.0.5 / 2018-12-22

  • Avoid FrozenError when params contains frozen value #1506 by Kunpei Sakai

  • Add support for Erubi #1494 by @​tkmru

  • IndifferentHash monkeypatch warning improvements #1477 by Mike Pastore

  • Improve development support and documentation and source code by Anusree Prakash, Jordan Owens, @​ceclinux and @​krororo.

sinatra-contrib

  • Add flush option to content_for #1225 by Shota Iguchi

  • Drop activesupport dependency from sinatra-contrib #1448

  • Update yield_content to append default to ERB template buffer #1500 by Jordan Owens

rack-protection

  • Don't track the Accept-Language header by default #1504 by Artem Chistyakov

2.0.4 / 2018-09-15

  • Don't blow up when passing frozen string to send_file disposition #1137 by Andrew Selder

  • Fix ubygems LoadError #1436 by Pavel Rosický

... (truncated)
Commits

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 [sinatra](https://github.com/sinatra/sinatra) from 2.0.0 to 2.0.7. **This update includes security fixes.**
- [Release notes](https://github.com/sinatra/sinatra/releases)
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md)
- [Commits](sinatra/sinatra@v2.0.0...v2.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview

Copy link
Copy Markdown
Author

Superseded by #120.

@dependabot-preview dependabot-preview Bot deleted the dependabot/bundler/sinatra-2.0.7 branch February 1, 2020 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants