Skip to content

[Security] Bump jquery-rails from 3.1.1 to 3.1.3 - #85

Open
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/jquery-rails-3.1.3
Open

[Security] Bump jquery-rails from 3.1.1 to 3.1.3#85
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/jquery-rails-3.1.3

Conversation

@dependabot-preview

Copy link
Copy Markdown

Bumps jquery-rails from 3.1.1 to 3.1.3. 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.3 (16 June 2015)

3.1.2 (1 September 2014)

  • Updated to jquery-ujs 1.0.1
Commits
  • ee1ed3c Release 3.1.3
  • 92f2a9d Upgrade jquery-ujs to do proper checks for cross domain requests
  • 135ba0f Release 3.1.2
  • 1eabddd Update to latest jquery-ujs.
  • d3bc214 Merge branch 'master' into 3-1-stable
  • 4bc300a Merge pull request #164 from mattmenefee/patch-1
  • 0374462 Update Changelog.md to correct release year
  • a3e9a29 Merge pull request #163 from dy-dx/update-readme
  • 614d06a updated readme with jQuery version 1.11.1
  • 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.


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 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.1 to 3.1.3. **This update includes security fixes.**
- [Release notes](https://github.com/rails/jquery-rails/releases)
- [Changelog](https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md)
- [Commits](rails/jquery-rails@v3.1.1...v3.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant