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.
🚨 We recommend to merge and deploy this update as soon as possible! 🚨
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
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:
A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess by Ruby's Kernel.open method. Processes are vulnerable only if the undocumented method Nokogiri::CSS::Tokenizer#load_file is being passed untrusted user input.
This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4.
[MRI] Pulled in upstream patch from libxslt that addresses CVE-2019-11068. Full details are available in #1892. Note that this patch is not yet (as of 2019-04-22) in an upstream release of libxslt.
You don't seem to have any Continuous Integration service set up!
Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the
service we're trying to provide down to a point where it is more or less meaningless.
This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:
* [Circle CI](https://circleci.com), [Semaphore ](https://semaphoreci.com) and [Travis-CI](https://travis-ci.com) are all excellent options.
* If you use something like Jenkins, make sure that you're using the Github integration correctly so that it reports status data back to Github.
* If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with `depfu/`.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
🚨 Your version of simple_form has known security vulnerabilities 🚨
Advisory: CVE-2019-16676 Disclosed: September 27, 2019 URL: https://github.com/plataformatec/simple_form/security/advisories/GHSA-r74q-gxcg-73hx
simple_form Gem for Ruby Incorrect Access Control for forms based on user input
🚨 We recommend to merge and deploy this update as soon as possible! 🚨
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ simple_form (4.1.0 → 5.0.0) · Repo · Changelog
Release Notes
5.0.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 42 commits:
Include information about security issues in README.md and
Don't call `#send` in form object to build file inputs
Remove `ruby-head` jobs
Update jruby version
Don't run specs with jruby 9.1 and Rails 6
Fix full error message test on Rails 6
Use different assertions for Rails 5 and 6
Don't run specs with Rails 6 and older rubies
Rails 6 and latest rubies on CI
Merge pull request #1667 from olleolleolle/patch-1
Gemspec: Drop EOL'd property rubyforge_project
Merge pull request #1660 from yeonhoyoon/patch-1
Update README.md
Update README.md
Fix typo in README.md
Update CHANGELOG.md [ci skip]
Merge pull request #1649 from mcountis/inherit_has_required_in_priority_input
Merge pull request #1650 from Silex/patch-1
Remove dead documentation
Don't manage "required" attribute in PriorityInput
Fix invalid check concerning "required" html attribute on select el
Merge pull request #1640 from m5o/bootstrap-v4.3.1-floating-labels
refinements for bootstrap v4.3.1
Merge pull request #1639 from m5o/bootstrap4.1.3
update bootstrap template to match v4.1.3
Merge pull request #1637 from plataformatec/frg-custom-classes-for-inline-checkboxes-and-radiobuttons
Support to label custom classes for inline collections
Merge pull request #1636 from plataformatec/frg-improve-test-runner
Add bin/test to improve test runner features
Add tests to cover multiple attribute for grouped select in associations
Merge pull request #1626 from ventrata/grouped_select_association_multiple
Merge pull request #1629 from Atul9/update-license
Update copyright notice to 2019 [ci skip]
set multiple attribute for grouped selects also
Merge pull request #1625 from akshatkedia/patch-1
Fix example for Collection Radio Buttons
Merge pull request #1624 from krmbzds/master
Fix minor typo
Merge pull request #1617 from Abduvakilov/master
Merge pull request #1621 from billygriffin/patch-1
Fix minor typo
Release `4.1.0` [ci skip]
↗️ erubi (indirect, 1.8.0 → 1.9.0) · Repo · Changelog
Release Notes
1.9.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 7 commits:
Bump version to 1.9.0
Change default :bufvar from 'String.new' to '::String.new' to work with BasicObject
Try to get Travis passing
Use minitest-global_expecations in tests to avoid deprecation issues with minitest 5.12
Test JRuby 9.2 on Travis
Test on TruffleRuby on Travis
CI: Add Ruby 2.6 to the matrix
↗️ loofah (indirect, 2.2.3 → 2.3.0) · Repo · Changelog
Release Notes
2.3.0 (from changelog)
Does any of this look wrong? Please let us know.
↗️ minitest (indirect, 5.11.3 → 5.12.2) · Repo · Changelog
Release Notes
5.12.2 (from changelog)
5.12.1 (from changelog)
5.12.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 34 commits:
prepped for release
- After chatting w/ @y-yagi and others, decided to lower support to include ruby 2.2.
prepped for release
- Fixed broken link to reference on goodness-of-fit testing. (havenwood)
Added mini-apivore to readme.
- Update requirements in readme and Rakefile/hoe spec.
+ Added documentation for Reporter classes. (sshaw)
Added minitest-global_expectations to readme. (jeremyevans)
- Avoid using 'match?' to support older ruby versions. (y-yagi)
Tweaked multithreading section of README. (iHiD)
prepped for release
Reworked the \n vs \\n mu_pp_for_diff situation.
Extended assert_mu_pp and assert_mu_pp_for_diff to auto-quote strings to make tests more grokkable.
minor editing to comment
Turn off parallelism on stub and spec meta tests because they hit class methods (globals)
Added mutant-minitest to readme. (mjb)
+ Add a descriptive error if assert_output or assert_raises called without a block. (okuramasafumi)
- Check `option[:filter]` klass before match. Fixes 2.6 warning. (y-yagi)
Fixed 2.6 warning in test_refute_match_matcher_object by adding explicit =~ method. (y-yagi)
Added doco for using Rake::TestTask. (schneems)
Added minitest-mock_expectations to readme. (bogdanvlviv)
- Fixed spec section of readme to not use deprecated global expectations. (CheezItMan)
minor rearrangement of requires
Added tests for message and using message/lambad w/ assertions.
+ Changed mu_pp_for_diff to make having both \n and \\n easier to debug.
Overhauled and sorted test_minitest_assertions.rb in prep for new mu_pp_for_diff changes.
Split tests out into test_minitest_assertions.rb
- Fixed Assertions#diff from recalculating if set to nil
+ Deprecated $N for specifying number of parallel test runners. Use MT_CPU.
+ Extended Assertions#mu_pp to encoding validity output for strings to improve diffs.
+ Deprecated use of global expectations. To be removed from MT6.
+ Fail gracefully when expectation used outside of `it`.
Converted all minitest/spec tests over to use _ to avoid deprecation warnings.
Avoid teardown assertion check if test is skipped
↗️ nokogiri (indirect, 1.10.1 → 1.10.4) · Repo · Changelog
Release Notes
1.10.4
1.10.3
1.10.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ rack (indirect, 2.0.6 → 2.0.7) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 4 commits:
Bumping to 2.0.7 for release
Merge pull request #1343 from larsxschneider/ls/forward-fix
Preserve forwarded IP address for trusted proxy chains
Merge pull request #1201 from janko-m/make-multipart-parsing-work-for-chunked-requests
↗️ rails-html-sanitizer (indirect, 1.0.4 → 1.2.0) · Repo · Changelog
Release Notes
1.2.0
1.1.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 26 commits:
Prepare 1.2.0
Remove needless white list sanitizer deprecations
Merge pull request #96 from olleolleolle/patch-1
CI: Drop unused sudo: false Travis directive
Merge pull request #95 from rwojnarowski/patch-1
Deprecated warning text, missing space
Prepare version 1.1.0
Merge pull request #91 from JuanitoFatas/doc/scrubbers
Merge pull request #92 from JuanitoFatas/link-sanitizer
Improve LinkSanitizer's documentation
href is not a HTML element
Improve Scrubber documentations
Merge pull request #87 from JuanitoFatas/migrate-to-safelist
Migrate to SafeListSanitizer
Merge pull request #90 from JuanitoFatas/jf.fix-tests
Update test behavior for Nokogiri > 1.9.1.
Merge pull request #89 from JuanitoFatas/rubies
Merge pull request #88 from JuanitoFatas/jf.relax-bundler-dependency
Update Ruby version matrix on CI
Use a inclusive Bundler version
Merge pull request #86 from tebs/fix-documentation-link
Fix Nokogiri link in documentation
[ci skip] Please don't send more PRs trying to bump Loofah.
Merge pull request #71 from nicolasleger/patch-1
[CI] Allow failure with ruby head
[CI] Test against Ruby 2.5
👉 No CI detected
You don't seem to have any Continuous Integration service set up!
Without a service that will test the Depfu branches and pull requests, we can't inform you if incoming updates actually work with your app. We think that this degrades the service we're trying to provide down to a point where it is more or less meaningless.
This is fine if you just want to give Depfu a quick try. If you want to really let Depfu help you keep your app up-to-date, we recommend setting up a CI system:
* [Circle CI](https://circleci.com), [Semaphore ](https://semaphoreci.com) and [Travis-CI](https://travis-ci.com) are all excellent options. * If you use something like Jenkins, make sure that you're using the Github integration correctly so that it reports status data back to Github. * If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with `depfu/`.Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands