Bumps minimatch from 0.2.14 to 3.0.4. This update includes security fixes.
Vulnerabilities fixed
*Sourced from The GitHub Security Advisory Database.*
> **High severity vulnerability that affects minimatch**
> Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the `pattern` parameter.
>
> Affected versions: < 3.0.2
*Sourced from [The Node Security Working Group](https://github.com/nodejs/security-wg/blob/master/vuln/npm/118.json).*
> **Regular Expression Denial of Service**
> Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` is vulnerable to ReDoS in the `pattern` parameter. This is because of the regular expression on line 521 of minimatch.js: `/((?:\\{2})*)(\\?)\|/g,`. The problematic portion of the regex is `((?:\\{2})*)` which matches against `\\`.
>
> A proof of concept is as follows:
> ```
> var minimatch = require(“minimatch”);
>
> // utility function for generating long strings
> var genstr = function (len, chr) {
> var result = “”;
> for (i=0; i<=len; i++) {
> result = result + chr;
> }
> return result;
> }
>
> var exploit = “[!” + genstr(1000000, “\\”) + “A”;
>
> // minimatch exploit.
> console.log(“starting minimatch”);
> minimatch(“foo”, exploit);
> ... (truncated)
>
> Affected versions: <=3.0.1
Commits
- [`e46989a`](https://github.com/isaacs/minimatch/commit/e46989a323d5f0aa4781eff5e2e6e7aafa223321) v3.0.4
- [`ddfacbd`](https://github.com/isaacs/minimatch/commit/ddfacbd37c9a34b45693650a9fc7f10165753730) update brace-expansion
- [`55ed736`](https://github.com/isaacs/minimatch/commit/55ed7365cb9c54d9406262ce01cc44f29893cec1) update package scripts and deps
- [`eed8949`](https://github.com/isaacs/minimatch/commit/eed89491bd4a4e6bc463aac0dfb5c29ef0d1dc13) v3.0.3
- [`ecabc57`](https://github.com/isaacs/minimatch/commit/ecabc57eedb3a4a96285633a49b8b5e0cb00c917) Do not throw on unfinished !( extglob patterns
- [`81edb7c`](https://github.com/isaacs/minimatch/commit/81edb7c763abd31ba981c87ec5e835f178786be0) v3.0.2
- [`6944abf`](https://github.com/isaacs/minimatch/commit/6944abf9e0694bd22fd9dad293faa40c2bc8a955) Handle extremely long and terrible patterns more gracefully
- [`8ac560e`](https://github.com/isaacs/minimatch/commit/8ac560e212d1b19b1b78685521ccc67a28d366e6) v3.0.1
- [`4f3a8bc`](https://github.com/isaacs/minimatch/commit/4f3a8bce2099a4acf0acf60709247bd885c706eb) update tap
- [`9cf2d88`](https://github.com/isaacs/minimatch/commit/9cf2d8863ae8a755ff86c248694f436cc49f41f6) Remove mentions of cache from readme
- Additional commits viewable in [compare view](https://github.com/isaacs/minimatch/compare/v0.2.14...v3.0.4)
Maintainer changes
This version was pushed to npm by [isaacs](https://www.npmjs.com/~isaacs), a new releaser for minimatch since your current version.
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). To ignore the version in this PR you can just close it
- `@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)
- 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 minimatch from 0.2.14 to 3.0.4. This update includes security fixes.
Vulnerabilities fixed
*Sourced from The GitHub Security Advisory Database.* > **High severity vulnerability that affects minimatch** > Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the `pattern` parameter. > > Affected versions: < 3.0.2 *Sourced from [The Node Security Working Group](https://github.com/nodejs/security-wg/blob/master/vuln/npm/118.json).* > **Regular Expression Denial of Service** > Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` is vulnerable to ReDoS in the `pattern` parameter. This is because of the regular expression on line 521 of minimatch.js: `/((?:\\{2})*)(\\?)\|/g,`. The problematic portion of the regex is `((?:\\{2})*)` which matches against `\\`. > > A proof of concept is as follows: > ``` > var minimatch = require(“minimatch”); > > // utility function for generating long strings > var genstr = function (len, chr) { > var result = “”; > for (i=0; i<=len; i++) { > result = result + chr; > } > return result; > } > > var exploit = “[!” + genstr(1000000, “\\”) + “A”; > > // minimatch exploit. > console.log(“starting minimatch”); > minimatch(“foo”, exploit); > ... (truncated) > > Affected versions: <=3.0.1Commits
- [`e46989a`](https://github.com/isaacs/minimatch/commit/e46989a323d5f0aa4781eff5e2e6e7aafa223321) v3.0.4 - [`ddfacbd`](https://github.com/isaacs/minimatch/commit/ddfacbd37c9a34b45693650a9fc7f10165753730) update brace-expansion - [`55ed736`](https://github.com/isaacs/minimatch/commit/55ed7365cb9c54d9406262ce01cc44f29893cec1) update package scripts and deps - [`eed8949`](https://github.com/isaacs/minimatch/commit/eed89491bd4a4e6bc463aac0dfb5c29ef0d1dc13) v3.0.3 - [`ecabc57`](https://github.com/isaacs/minimatch/commit/ecabc57eedb3a4a96285633a49b8b5e0cb00c917) Do not throw on unfinished !( extglob patterns - [`81edb7c`](https://github.com/isaacs/minimatch/commit/81edb7c763abd31ba981c87ec5e835f178786be0) v3.0.2 - [`6944abf`](https://github.com/isaacs/minimatch/commit/6944abf9e0694bd22fd9dad293faa40c2bc8a955) Handle extremely long and terrible patterns more gracefully - [`8ac560e`](https://github.com/isaacs/minimatch/commit/8ac560e212d1b19b1b78685521ccc67a28d366e6) v3.0.1 - [`4f3a8bc`](https://github.com/isaacs/minimatch/commit/4f3a8bce2099a4acf0acf60709247bd885c706eb) update tap - [`9cf2d88`](https://github.com/isaacs/minimatch/commit/9cf2d8863ae8a755ff86c248694f436cc49f41f6) Remove mentions of cache from readme - Additional commits viewable in [compare view](https://github.com/isaacs/minimatch/compare/v0.2.14...v3.0.4)Maintainer changes
This version was pushed to npm by [isaacs](https://www.npmjs.com/~isaacs), a new releaser for minimatch since your current version.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). To ignore the version in this PR you can just close it - `@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) - 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.