Skip to content

Conversation

@dependabot-preview
Copy link

Bumps yargs-parser from 5.0.0 to 9.0.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 of Object, causing the addition or modification of an existing property that will exist on all objects.
Parsing the argument --foo.__proto__.bar baz' adds a bar property with value baz to all objects. This is only exploitable if attackers have control over the arguments being passed to yargs-parser.

Recommendation

Upgrade to versions 13.1.2, 15.0.1, 18.1.1 or later.

Affected versions: <= 5.0.0

Changelog

Sourced from yargs-parser's changelog.

19.0.2 (2020-08-27)

Bug Fixes

19.0.1 (2020-08-09)

Bug Fixes

  • build: push tag created for deno (2186a14)

19.0.0 (2020-08-09)

⚠ BREAKING CHANGES

  • adds support for ESM and Deno (#295)
  • ts: projects using @types/yargs-parser may see variations in type definitions.
  • drops Node 6. begin following Node.js LTS schedule (#278)

Features

  • adds support for ESM and Deno (#295) (195bc4a)
  • expose camelCase and decamelize helpers (#296) (39154ce)
  • deps: update to latest camelcase/decamelize (#281) (8931ab0)

Bug Fixes

  • boolean numeric short option (#294) (f600082)
  • raise permission error for Deno if config load fails (#298) (1174e2b)
  • deps: update dependency decamelize to v3 (#274) (4d98698)
  • types: switch back to using Partial types (#293) (bdc80ba)

Build System

  • drops Node 6. begin following Node.js LTS schedule (#278) (9014ed7)

Code Refactoring

18.1.3 (2020-04-16)

Commits
  • 523aecd chore(release): 9.0.2
  • 9b28aad fix: nargs was still aggressively consuming too many arguments
  • cf0d9d0 chore(release): 9.0.1
  • 4fef206 fix: nargs was consuming too many arguments
  • 9734d9c chore(release): 9.0.0
  • 405a1f3 chore: upgrade standard-version
  • 60bb9b3 feat: narg arguments no longer consume flag arguments (#114)
  • 29b0248 chore(release): 8.1.0
  • c44386b chore: upgrade to version of standard-version that doesn't step on toes
  • c8bf536 feat: make combining arrays a configurable option (#111)
  • 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)
  • 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)

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Nov 10, 2020
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.

1 participant