Loading...
Skip to main content

CVE-2020-7598 — Prototype Pollution in minimist — CVE Details

MEDIUM

Prototype Pollution in minimist

Published April 3, 2020Updated March 13, 2026Source: osv

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.25%). Schedule for your next planned update.

Summary

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`. ## Recommendation Upgrade to versions 0.2.1, 1.2.3 or later.

Advisory Timeline

  • First published April 3, 2020 (2383 days ago).
  • Last revised March 13, 2026 — 2170 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update minimist to 1.2.3 or later
npm install minimist@1.2.3
npm
Update minimist to 0.2.1 or later
npm install minimist@0.2.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
minimist
npm
All versions1.2.3
minimist
npm
All versions0.2.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Frequently Asked Questions

What is CVE-2020-7598?
Prototype Pollution in minimist This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.6/10).
How do I check if my project is affected by CVE-2020-7598?
CVE-2020-7598 affects minimist. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-7598 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.6

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

EPSS Score (30-day exploit probability)
0.25%
Higher than 48% of vulnerabilities

This is a below-median EPSS score — only 48.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-vh95-rmgr-6w4m

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies