Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] Bump qs from 0.4.2 to 6.3.2 #12

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

Conversation

dependabot-preview[bot]
Copy link

Bumps qs from 0.4.2 to 6.3.2. This update includes security fixes.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects qs
The qs module before 1.0.0 does not have an option or default for specifying object depth and when parsing a string representing a deeply nested object will block the event loop for long periods of time. An attacker could leverage this to cause a temporary denial-of-service condition, for example, in a web application, other requests would not be processed while this blocking is occurring.

Affected versions: < 1.0.0

Sourced from The Node Security Working Group.

Denial-of-Service Memory Exhaustion
The qs module has the ability to create sparse arrays during parsing. By specifying a high index it is possible to create a large array that will eventually take up all the allocated memory of the running process, resulting in a crash.

Affected versions: <1.0.0

Sourced from The Node Security Working Group.

Denial-of-Service Extended Event Loop Blocking
The qs module does not have an option or default for specifying object depth and when parsing a string representing a deeply nested object will block the event loop for long periods of time. An attacker could leverage this to cause a temporary denial-of-service condition, for example, in a web application, other requests would not be processed while this blocking is occurring.

Affected versions: <1.0.0

Changelog

Sourced from qs's changelog.

6.3.2

  • [Fix] follow allowPrototypes option during merge (#201, #200)
  • [Dev Deps] update eslint
  • [Fix] chmod a-x
  • [Fix] support keys starting with brackets (#202, #200)
  • [Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds

6.3.1

  • [Fix] ensure that allowPrototypes: false does not ever shadow Object.prototype properties (thanks, @​snyk!)
  • [Dev Deps] update eslint, @ljharb/eslint-config, browserify, iconv-lite, qs-iconv, tape
  • [Tests] on all node minors; improve test matrix
  • [Docs] document stringify option allowDots (#195)
  • [Docs] add empty object and array values example (#195)
  • [Docs] Fix minor inconsistency/typo (#192)
  • [Docs] document stringify option sort (#191)
  • [Refactor] stringify: throw faster with an invalid encoder
  • [Refactor] remove unnecessary escapes (#184)
  • Remove contributing.md, since qs is no longer part of hapi (#183)

6.3.0

  • [New] Add support for RFC 1738 (#174, #173)
  • [New] stringify: Add serializeDate option to customize Date serialization (#159)
  • [Fix] ensure utils.merge handles merging two arrays
  • [Refactor] only constructors should be capitalized
  • [Refactor] capitalized var names are for constructors only
  • [Refactor] avoid using a sparse array
  • [Robustness] formats: cache String#replace
  • [Dev Deps] update browserify, eslint, @ljharb/eslint-config; add safe-publish-latest
  • [Tests] up to node v6.8, v4.6; improve test matrix
  • [Tests] flesh out arrayLimit/arrayFormat tests (#107)
  • [Tests] skip Object.create tests when null objects are not available
  • [Tests] Turn on eslint for test files (#175)

6.2.3

  • [Fix] follow allowPrototypes option during merge (#201, #200)
  • [Fix] chmod a-x
  • [Fix] support keys starting with brackets (#202, #200)
  • [Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds

6.2.2

  • [Fix] ensure that allowPrototypes: false does not ever shadow Object.prototype properties

6.2.1

  • [Fix] ensure key[]=x&key[]&key[]=y results in 3, not 2, values
  • [Refactor] Be explicit and use Object.prototype.hasOwnProperty.call
  • [Tests] remove parallelshell since it does not reliably report failures
  • [Tests] up to node v6.3, v5.12
  • [Dev Deps] update tape, eslint, @ljharb/eslint-config, qs-iconv

6.2.0

... (truncated)
Commits
Maintainer changes

This version was pushed to npm by ljharb, a new releaser for qs since your current version.


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.


Dependabot has been acquired by GitHub  🎉

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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