zooniverse / scribeAPI

scribe API
MIT License
79 stars 25 forks source link

[Security] Bump jquery-rails from 3.1.2 to 3.1.5 #603

Open dependabot-preview[bot] opened 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps jquery-rails from 3.1.2 to 3.1.5. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The Ruby Advisory Database](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2015-1840.yml).* > **CSRF Vulnerability in jquery-rails** > In the scenario where an attacker might be able to control the href attribute > of an anchor tag or the action attribute of a form tag that will trigger a > POST action, the attacker can set the href or action to > " https://attacker.com" (note the leading space) that will be passed to > JQuery, who will see this as a same origin request, and send the user's CSRF > token to the attacker domain. > > To work around this problem, change code that allows users to control the > href attribute of an anchor tag or the action attribute of a form tag to > filter the user parameters. > > For example, code like this: > > link_to params > > to code like this: > > link_to filtered_params > > def filtered_params > ... (truncated) > > Patched versions: >= 4.0.4; \~> 3.1.3 > Unaffected versions: none
Changelog *Sourced from [jquery-rails's changelog](https://github.com/rails/jquery-rails/blob/v3.1.5/CHANGELOG.md).* > ## 3.1.5 (18 Apr 2018) > > - Updated jQuery 1.12.4 > > ## 3.1.3 (16 June 2015) > > - Fix CSP bypass vulnerability. CVE-2015-1840
Commits - [`fa176d4`](https://github.com/rails/jquery-rails/commit/fa176d4d2b0bb730d9f7816591715f03d7fc4af9) Upgrade jQuery to 1.12.4 - [`c211b82`](https://github.com/rails/jquery-rails/commit/c211b829d08bc7f79394bb9f29d4f3305d2bb6cc) Fix jQuery version download task - [`d42f68d`](https://github.com/rails/jquery-rails/commit/d42f68d0205f96221168f3cc28ba31ab47822c30) Release 3.1.4 - [`ecf65f0`](https://github.com/rails/jquery-rails/commit/ecf65f0954888ca60ad66ed06252cb0ffbf612bd) Fix IE7 bug on isCrossDomain check - [`d0be832`](https://github.com/rails/jquery-rails/commit/d0be832723c3cdf9d39b9c006d3644b4d13926bb) Merge branch '3-1-2-sec' into 3-1-stable - [`ee1ed3c`](https://github.com/rails/jquery-rails/commit/ee1ed3c8050a9723f62a618df5862ff3b85cc723) Release 3.1.3 - [`92f2a9d`](https://github.com/rails/jquery-rails/commit/92f2a9d28542aad7faf770adae99f608c5b1e2c9) Upgrade jquery-ujs to do proper checks for cross domain requests - See full diff in [compare view](https://github.com/rails/jquery-rails/compare/v3.1.2...v3.1.5)


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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge` will cancel a previously requested merge - `@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 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) - 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.