Human-Connection / API

The API for a better world.
https://human-connection.org
MIT License
35 stars 16 forks source link

[Security] Bump slug from 0.9.1 to 1.0.0 #207

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps slug from 0.9.1 to 1.0.0. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The npm Advisory Database](https://npmjs.com/advisories/537).* > **Regular Expression Denial of Service** > Affected versions of `slug` are vulnerable to a regular expression denial of service when parsing untrusted user input. > > The issue is low severity, as it takes 50,000 characters to cause the event loop to block for 2 seconds, > > About 50k characters can block the event loop for 2 seconds. > > Affected versions: <=0.9.1 *Sourced from The GitHub Security Advisory Database.* > **High severity vulnerability that affects slug** > slug is a module to slugify strings, even if they contain unicode. slug is vulnerable to regular expression denial of service is specially crafted untrusted input is passed as input. About 50k characters can block the event loop for 2 seconds. > > Affected versions: <= 0.9.1
Commits - [`4f55903`](https://github.com/Trott/node-slug/commit/4f55903246a3b3d70cefa72e3ebe50a155b53e3a) 1.0.0 - [`6c9fa43`](https://github.com/Trott/node-slug/commit/6c9fa4313e345c2663802b262b9bd1d76d82d154) 0.9.4 - [`a261edd`](https://github.com/Trott/node-slug/commit/a261eddcb41fc9532c6797b5bc8571ca4a112dc2) remove bower - [`bac22af`](https://github.com/Trott/node-slug/commit/bac22afe90de9c1ed9bfb14575796c0bd3661d5f) 0.9.3 - [`6fe908f`](https://github.com/Trott/node-slug/commit/6fe908f018618c656c51456a33520c637e814b7f) Update README.md - [`ee873e5`](https://github.com/Trott/node-slug/commit/ee873e5d6cc39a8b99d7a835c774208346332557) 0.9.2 - [`791b7d8`](https://github.com/Trott/node-slug/commit/791b7d8ea1804be341561aa5d44d282bbfd2f780) fix ReDoS vulnerability - [`85ded30`](https://github.com/Trott/node-slug/commit/85ded30a95760b19cd223abe668eade0279a21f2) fix typo - [`4284d8e`](https://github.com/Trott/node-slug/commit/4284d8ea7ddd985772ab1d4f4c719ce38d126d52) update lower case examples in readme - See full diff in [compare view](https://github.com/Trott/node-slug/compare/0.9.1...v1.0.0)
Maintainer changes This version was pushed to npm by [trott](https://www.npmjs.com/~trott), a new releaser for slug 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 - `@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.
codecov[bot] commented 5 years ago

Codecov Report

Merging #207 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #207   +/-   ##
========================================
  Coverage    66.66%   66.66%           
========================================
  Files          146      146           
  Lines         1926     1926           
========================================
  Hits          1284     1284           
  Misses         642      642

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8f0edaf...5abb8a8. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #207 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #207   +/-   ##
========================================
  Coverage    66.66%   66.66%           
========================================
  Files          146      146           
  Lines         1926     1926           
========================================
  Hits          1284     1284           
  Misses         642      642

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8f0edaf...5abb8a8. Read the comment docs.

dependabot-preview[bot] commented 5 years ago

Superseded by #220.