[Security] Bump yargs-parser from 13.1.1 to 13.1.2
Created by: dependabot-preview[bot]
Bumps yargs-parser from 13.1.1 to 13.1.2. This update includes a security fix.
Vulnerabilities fixed
Sourced from The GitHub Security Advisory Database.
Prototype Pollution in yargs-parser Affected versions of
yargs-parser
are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype ofObject
, causing the addition or modification of an existing property that will exist on all objects.
Parsing the argument--foo.__proto__.bar baz'
adds abar
property with valuebaz
to all objects. This is only exploitable if attackers have control over the arguments being passed toyargs-parser
.Recommendation
Upgrade to versions 13.1.2, 15.0.1, 18.1.1 or later.
Affected versions: < 13.1.2
Changelog
Sourced from yargs-parser's changelog.
15.0.0 (2019-10-07)
Features
- rework
collect-unknown-options
intounknown-options-as-args
, providing more comprehensive functionality (ef771ca)BREAKING CHANGES
- rework
collect-unknown-options
intounknown-options-as-args
, providing more comprehensive functionality14.0.0 (2019-09-06)
Bug Fixes
- boolean arrays with default values (#185) (7d42572)
- boolean now behaves the same as other array types (#184) (17ca3bd)
- eatNargs() for 'opt.narg === 0' and boolean typed options (#188) (c5a1db0)
- maybeCoerceNumber now takes precedence over coerce return value (#182) (2f26436)
- take into account aliases when appending arrays from config object (#199) (f8a2d3f)
Features
- add configuration option to "collect-unknown-options" (#181) (7909cc4)
- maybeCoerceNumber() now takes into account arrays (#187) (31c204b)
BREAKING CHANGES
- unless "parse-numbers" is set to "false", arrays of numeric strings are now parsed as numbers, rather than strings.
- we have dropped the broken "defaulted" functionality; we would like to revisit adding this in the future.
- maybeCoerceNumber now takes precedence over coerce return value (#182)
Commits
- See full diff in compare view
Maintainer changes
This version was pushed to npm by oss-bot, a new releaser for yargs-parser 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 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)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)