ThoughtWorksInc / transervicos

33 stars 14 forks source link

[Security] Bump rails_admin from 0.8.1 to 1.3.0 #130

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 5 years ago

Bumps rails_admin from 0.8.1 to 1.3.0. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The Ruby Advisory Database](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails_admin/CVE-2017-12098.yml).* > **rails_admin ruby gem XSS vulnerability** > An exploitable cross site scripting (XSS) vulnerability exists in the > add filter functionality of the rails_admin rails gem version 1.2.0. A specially > crafted URL can cause an XSS flaw resulting in an attacker being able to execute > arbitrary javascript on the victim's browser. An attacker can phish an authenticated > user to trigger this vulnerability. > > Patched versions: >= 1.3.0 > Unaffected versions: none *Sourced from The GitHub Security Advisory Database.* > **Moderate severity vulnerability that affects rails_admin** > An exploitable cross site scripting (XSS) vulnerability exists in the add filter functionality of the rails_admin rails gem version 1.2.0. A specially crafted URL can cause an XSS flaw resulting in an attacker being able to execute arbitrary javascript on the victim's browser. An attacker can phish an authenticated user to trigger this vulnerability. > > Affected versions: < 1.3.0
Changelog *Sourced from [rails_admin's changelog](https://github.com/sferik/rails_admin/blob/master/CHANGELOG.md).* > ## [1.3.0](https://github.com/sferik/rails_admin/tree/v1.3.0) - 2018-02-18 > > [Full Changelog](https://github.com/sferik/rails_admin/compare/v1.2.0...v1.3.0) > > ### Added > - Configurability for forgery protection setting([#2989](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2989)) > - Configurability for the number of audit records displayed into dashboard([#2982](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2982)) > - Add limited pagination mode, which doesn't require count query([#2968](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2968)) > - Prettier output of JSON field value([#2937](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2937), [#2973](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2973), [#2980](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2980)) > - Add markdown field support through SimpleMDE([#2949](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2949)) > - Checkboxes for bulk actions in index page can be turned off now([#2917](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2917)) > > ### Fixed > - Parse JS translations as JSON([#2925](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2925)) > - Re-selecting an item after unselecting has no effect in filtering-multiselect([#2912](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2912)) > - Stop memoization of datetime parser to handle locale changes([#2824](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2824)) > - Filters for ActiveRecord Enum field behaved incorrectly for enums whose labels are different from values([#2971](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2971)) > - Client-side required validation was not enforced in filtering-select widget([#2905](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2905)) > - Filter refresh button was broken([#2890](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2890)) > > ### Security > - Fix XSS vulnerability in filter and multi-select widget([#2985](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2985), [44f09ed7](https://github.com/sferik/rails_admin/commit/44f09ed72b5e0e917a5d61bd89c48d97c494b41c)) > > > ## [1.2.0](https://github.com/sferik/rails_admin/tree/v1.2.0) - 2017-05-31 > > [Full Changelog](https://github.com/sferik/rails_admin/compare/v1.1.1...v1.2.0) > > ### Added > - Add ILIKE support for PostgreSQL/PostGIS adapter, multibyte downcase for other adapters([#2766](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2766)) > - Support for UUID query([#2766](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2766)) > - Support for Haml 5([#2840](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2840), [#2870](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2870), [#2877](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2877)) > - Add instance option to append a CSS class for rows([#2860](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2860)) > > ### Fixed > - Remove usage of alias_method_chain, deprecated in Rails 5.0([#2864](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2864)) > - Load models from eager_load, not autoload_paths([#2771](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2771)) > - jQuery 3.0 doesn't have size(), use length instead([#2841](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2841)) > - Prepopulation of the new form didn't work with namespaced models([#2701](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2701)) > > > ## [1.1.1](https://github.com/sferik/rails_admin/tree/v1.1.1) - 2016-12-25 > > [Full Changelog](https://github.com/sferik/rails_admin/compare/v1.1.0...v1.1.1) > > ### Fixed > - CSV export broke with empty tables([#2796](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2796), [#2797](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2797)) > - ActiveRecord adapter's #encoding did not work with Oracle enhanced adapter([#2789](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2789)) > - ActiveRecord 5 belongs_to presence validators were unintentionally disabled due to initialization mishandling([#2785](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2785), [#2786](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2786)) > - Destroy failure caused subsequent index action to return 404, instead of 200([#2775](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2775), [#2776](https://github-redirect.dependabot.com/sferik/rails_admin/pull/2776)) > ... (truncated)
Commits - [`c903d2e`](https://github.com/sferik/rails_admin/commit/c903d2e1702c6652eaf33ded8fa0892a4f434af1) Version 1.3.0 - [`9c47844`](https://github.com/sferik/rails_admin/commit/9c47844821fb8975fd02f85081f62fdf7391ccff) Set default dashboard history count to 100, respecting previous default - [`1ddcdb2`](https://github.com/sferik/rails_admin/commit/1ddcdb20b3e8bade5dc18f3508b082de4040b6aa) Fix JRuby build - [`7679269`](https://github.com/sferik/rails_admin/commit/7679269a3a535447ecb594aaec1bab2d2a7a8540) Merge pull request [#2989](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2989) from Kaligo/feature/configurable_csrf_protection - [`bf8e911`](https://github.com/sferik/rails_admin/commit/bf8e9116c5a18e65d7c0f0e0aff29b909d0c58af) Merge pull request [#2982](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2982) from dalpo/dashboard-optimizations - [`a5ed925`](https://github.com/sferik/rails_admin/commit/a5ed9253f38c528cabdf617b5b18111fd4f75509) Merge pull request [#2980](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2980) from Kaligo/bugfix/display_empty_json - [`a345c3c`](https://github.com/sferik/rails_admin/commit/a345c3c97a3d351a82a76fb010e726e1b439e8c1) Merge pull request [#2925](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2925) from zakihaya/fix_js_locale_settings - [`f3f6c2c`](https://github.com/sferik/rails_admin/commit/f3f6c2c16c0561db282d663d68104867fa244415) Re-selecting an item after unselecting has no effect in filtering-multiselect - [`7c1db24`](https://github.com/sferik/rails_admin/commit/7c1db241cd2eddb2d0c91b8af029a82c3c1ee418) Merge pull request [#2824](https://github-redirect.dependabot.com/sferik/rails_admin/issues/2824) from roberthead/datetime-locale-switching - [`44f09ed`](https://github.com/sferik/rails_admin/commit/44f09ed72b5e0e917a5d61bd89c48d97c494b41c) Fix XSS vulnerability in filter and multi-select widget - Additional commits viewable in [compare view](https://github.com/sferik/rails_admin/compare/v0.8.1...v1.3.0)


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](https://app.dependabot.com): - 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.