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

[Security] Bump json from 1.6.6 to 1.8.6 #4

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

Conversation

dependabot-preview[bot]
Copy link

Bumps json from 1.6.6 to 1.8.6. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

High severity vulnerability that affects json
The JSON gem before 1.5.5, 1.6.x before 1.6.8, and 1.7.x before 1.7.7 for Ruby allows remote attackers to cause a denial of service (resource consumption) or bypass the mass assignment protection mechanism via a crafted JSON document that triggers the creation of arbitrary Ruby symbols or certain internal objects, as demonstrated by conducting a SQL injection attack against Ruby on Rails, aka "Unsafe Object Creation Vulnerability."

Affected versions: >= 1.6.0, < 1.6.8

Changelog

Sourced from json's changelog.

2017-01-13 (1.8.6)

  • Be compatible with ancient ruby 1.8 (maybe?)
    2015-09-11 (1.8.5)
  • Be compatible with ruby 2.4.0
  • There were still some mentions of dual GPL licensing in the source, but JSON
    has just the Ruby license that itself includes an explicit dual-licensing
    clause that allows covered software to be distributed under the terms of
    the Simplified BSD License instead for all ruby versions >= 1.9.3. This is
    however a GPL compatible license according to the Free Software Foundation.
    I changed these mentions to be consistent with the Ruby license setting in
    the gemspec files which were already correct now.
    ---------- (1.8.4) Skipped.
    2015-06-01 (1.8.3)
  • Fix potential memory leak, thx to nobu.
    2015-01-08 (1.8.2)
  • Some performance improvements by Vipul A M [email protected].
  • Fix by Jason R. Clark [email protected] to avoid mutation of
    JSON.dump_default_options.
  • More tests by Michael Mac-Vicar [email protected] and fixing
    space_before accessor in generator.
  • Performance on Jruby improvemed by Ben Browning [email protected].
  • Some fixes to be compatible with the new Ruby 2.2 by Zachary Scott [email protected]
    and SHIBATA Hiroshi [email protected].
    2013-05-13 (1.8.1)
  • Remove Rubinius exception since transcoding should be working now.
    2013-05-13 (1.8.0)
  • Fix flori/json#162 reported by Marc-Andre
    Lafortune [email protected]. Thanks!
  • Applied patches by Yui NARUSE [email protected] to suppress warning with
    -Wchar-subscripts and better validate UTF-8 strings.
  • Applied patch by ginriki@github to remove unnecessary if.
  • Add load/dump interface to JSON::GenericObject to make
    serialize :some_attribute, JSON::GenericObject
    work in Rails active models for convenient SomeModel#some_attribute.foo.bar
    access to serialised JSON data.
    2013-02-04 (1.7.7)
  • Security fix for JSON create_additions default value and
    JSON::GenericObject. It should not be possible to create additions unless
    explicitely requested by setting the create_additions argument to true or
    using the JSON.load/dump interface. If JSON::GenericObject is supposed to
    be automatically deserialised, this has to be explicitely enabled by
    setting
    JSON::GenericObject.json_creatable = true
    as well.
  • Remove useless assert in fbuffer implementation.
  • Apply patch attached to https://github.com/flori/json/issues#issue/155
    provided by John Shahid [email protected], Thx!
  • Add license information to rubygems spec data, reported by Jordi Massaguer Pla [email protected].
  • Improve documentation, thx to Zachary Scott [email protected].
    2012-11-29 (1.7.6)
... (truncated)
Commits
  • 7f4cfd8 Try to be compatible with ruby 1.8
  • 4cf6c62 Update gemspecs
  • 48c5e99 Stop testing on 1.8, it might work though
  • 5d46fb9 Travis don't know how to build these rubies
  • 7f05140 Fix conversion crash on 1.9
  • 2bcacc1 Require ruby version 2.0 or better
  • f8e2aa6 Reduce supported ruby versions
  • b4eeed1 Test newer rubies
  • c7a6e31 Use 2.3.1 for testing
  • 953f474 Merge RUBY_INTEGER_UNIFICATION changes
  • Additional commits viewable 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 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:

  • 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 [json](https://github.com/flori/json) from 1.6.6 to 1.8.6. **This update includes a security fix.**
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/v1.8.6/CHANGES)
- [Commits](ruby/json@v1.6.6...v1.8.6)

Signed-off-by: dependabot-preview[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 Sep 6, 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.

0 participants