Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

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

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

Conversation

dependabot-preview[bot]
Copy link

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

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

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.

3.1.5 (18 Apr 2018)

  • Updated jQuery 1.12.4

3.1.3 (16 June 2015)

Commits
  • fa176d4 Upgrade jQuery to 1.12.4
  • c211b82 Fix jQuery version download task
  • d42f68d Release 3.1.4
  • ecf65f0 Fix IE7 bug on isCrossDomain check
  • d0be832 Merge branch '3-1-2-sec' into 3-1-stable
  • ee1ed3c Release 3.1.3
  • 92f2a9d Upgrade jquery-ujs to do proper checks for cross domain requests
  • See full diff 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.


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:

  • 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.

Bumps [jquery-rails](https://github.com/rails/jquery-rails) from 3.1.2 to 3.1.5. **This update includes security fixes.**
- [Release notes](https://github.com/rails/jquery-rails/releases)
- [Changelog](https://github.com/rails/jquery-rails/blob/v3.1.5/CHANGELOG.md)
- [Commits](rails/jquery-rails@v3.1.2...v3.1.5)

Signed-off-by: dependabot[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 Jan 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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