Affected versions of minimist 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 --__proto__.y=Polluted adds a y property with value Polluted to all objects. The argument --__proto__=Polluted raises and uncaught error and crashes the application.
This is exploitable if attackers have control over the arguments being passed to minimist.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This PR contains the following updates:
1.2.0
->1.2.3
GitHub Vulnerability Alerts
CVE-2020-7598
Affected versions of
minimist
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
--__proto__.y=Polluted
adds ay
property with valuePolluted
to all objects. The argument--__proto__=Polluted
raises and uncaught error and crashes the application.This is exploitable if attackers have control over the arguments being passed to
minimist
.Recommendation
Upgrade to versions 0.2.1, 1.2.3 or later.
Release Notes
substack/minimist
### [`v1.2.3`](https://togithub.com/substack/minimist/compare/1.2.2...1.2.3) [Compare Source](https://togithub.com/substack/minimist/compare/1.2.2...1.2.3) ### [`v1.2.2`](https://togithub.com/substack/minimist/compare/1.2.1...1.2.2) [Compare Source](https://togithub.com/substack/minimist/compare/1.2.1...1.2.2) ### [`v1.2.1`](https://togithub.com/substack/minimist/compare/1.2.0...1.2.1) [Compare Source](https://togithub.com/substack/minimist/compare/1.2.0...1.2.1)Renovate configuration
:date: Schedule: "" (UTC).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.