Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): [security] bump simple_form from 4.1.0 to 5.0.0 #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps simple_form from 4.1.0 to 5.0.0. This update includes a security fix.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

simple_form Gem for Ruby Incorrect Access Control for forms based on user input
Simple Form before 5.0 has Incorrect Access Control in file_method? in lib/simple_form/form_builder.rb,
because a user-supplied string is invoked as a method call.

This only happens for pages that build forms based on user input.

Patched versions: >= 5.0
Unaffected versions: none

Changelog

Sourced from simple_form's changelog.

5.0.0

Enhancements

  • Set multiple attribute for grouped selects also. @​ollym
  • Removes or renames label classes. Abduvakilov
  • Support to label custom classes for inline collections. @​feliperenan
  • Update bootstrap generator template to match v4.3.x. @​m5o
  • Allow "required" attribute in generated select elements of PriorityInput. @​mcountis

Bug fix

  • Do not call #send in form object to check whether the attribute is a file input. @​tegon

Deprecations

  • The config SimpleForm.file_methods is deprecated and it has no effect. Simple Form now supports automatically discover of file inputs for the following Gems: activestorage, carrierwave, paperclip, refile and shrine. If you are using a custom method that is not from one of the supported Gems, please change your forms to pass the input type explicitly:
 <%= form.input :avatar, as: :file %>

See http://blog.plataformatec.com.br/2019/09/incorrect-access-control-in-simple-form-cve-2019-16676 for more information.

Commits
  • 440ed5f Include information about security issues in README.md and
  • 8c91bd7 Don't call #send in form object to build file inputs
  • 62408e8 Remove ruby-head jobs
  • 69f4d46 Update jruby version
  • bcc1197 Don't run specs with jruby 9.1 and Rails 6
  • 8d56636 Fix full error message test on Rails 6
  • 13d0341 Use different assertions for Rails 5 and 6
  • 6f677ec Don't run specs with Rails 6 and older rubies
  • fc25ab4 Rails 6 and latest rubies on CI
  • 9d7921f Merge pull request #1667 from olleolleolle/patch-1
  • Additional commits viewable in compare view

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)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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 [simple_form](https://github.com/plataformatec/simple_form) from 4.1.0 to 5.0.0. **This update includes a security fix.**
- [Release notes](https://github.com/plataformatec/simple_form/releases)
- [Changelog](https://github.com/plataformatec/simple_form/blob/master/CHANGELOG.md)
- [Commits](heartcombo/simple_form@v4.1.0...v5.0.0)

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 Sep 30, 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
0 participants