Skip to content

[Security] Bump rack-protection from 1.5.3 to 2.0.7#96

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rack-protection-2.0.7
Closed

[Security] Bump rack-protection from 1.5.3 to 2.0.7#96
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rack-protection-2.0.7

Conversation

@dependabot-preview
Copy link

Bumps rack-protection from 1.5.3 to 2.0.7. This update includes security fixes.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

rack-protection gem timing attack vulnerability when validating CSRF token
Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains
a timing attack vulnerability in the CSRF token checking that can result in signatures
can be exposed. This attack appear to be exploitable via network connectivity to
the ruby application.

Patched versions: ~> 1.5.5; >= 2.0.0
Unaffected versions: none

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects rack-protection
Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.

Affected versions: < 1.5.5

Sourced from The Ruby Advisory Database.

Path traversal is possible via backslash characters on Windows.
An issue was discovered in rack-protection 2.x before 2.0.1 on Windows. Path traversal
is possible via backslash characters.

Patched versions: >= 2.0.1; ~> 1.5.4
Unaffected versions: none

Changelog

Sourced from rack-protection'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 [rack-protection](https://github.com/sinatra/sinatra) from 1.5.3 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](https://github.com/sinatra/sinatra/commits/v2.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Aug 23, 2019
@sofiengwin sofiengwin had a problem deploying to teencode-backend-pr-96 August 23, 2019 06:13 Failure
@dependabot-preview
Copy link
Author

Superseded by #121.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rack-protection-2.0.7 branch January 2, 2020 05:23
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.

1 participant