Skip to content

Conversation

@dependabot-preview
Copy link

Bumps rack-protection from 1.2.0 to 1.5.5. 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.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ý

  • Unescape regex captures #1446 by Jordan Owens

  • Slight performance improvements for IndifferentHash #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 by Marc-André Lafortune

2.0.2 / 2018-06-05

  • Escape invalid query parameters #1432 by Kunpei Sakai

  • Fix undefined method error for Sinatra::RequiredParams with hash key #1431 by Arpit Chauhan

  • Add xml content-types to valid html_types for Rack::Protection #1413 by Reenan Arbitrario

  • Encode route parameters using :default_encoding setting #1412 by Brian m. Carlson

  • Fix unpredictable behaviour from Sinatra::ConfigFile #1244 by John Hope

... (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 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). To ignore the version in this PR you can just close it
  • @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)
  • 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.2.0 to 1.5.5. **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)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jul 31, 2019
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