# CVE-2020-7598: Prototype Pollution in minimist


- **Severity:** Medium 5.6 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 11 Mar 2020
- **Updated:** 8 Oct 2026
- **Also known as:** AZL-44115, AZL-44310, CLSA-2026-1777250305, DEBIAN-CVE-2020-7598, GHSA-vh95-rmgr-6w4m, OESA-2021-1397, ROOT-APP-NPM-CVE-2020-7598, SUSE-RU-2020:1238-1, UBUNTU-CVE-2020-7598

## What is CVE-2020-7598?

CVE-2020-7598 is a medium-severity vulnerability in Opensuse Leap, published on 11 Mar 2020. 

### Official description

minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a "constructor" or "__proto__" payload.

Weakness: CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes)

## Which versions are affected by CVE-2020-7598?

4 open source packages ship an affected version, including minimist. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `minimist` | npm | All versions | 0.2.1 |
| `minimist` | npm | All versions | 0.2.1 |
| `minimist` | npm | From 1.0.0 | 1.2.3 |
| `minimist` | npm | From 1.0.0 | 1.2.3 |
| `patterns-suse-manager` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0-9.13.2 |
| `spacewalk-backend` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0.31-3.26.3 |
| `spacewalk-certs-tools` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0.16-3.18.2 |
| `spacewalk-client-tools` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0.13-3.16.2 |
| `spacewalk-proxy-installer` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0.12-3.3.2 |
| `spacewalk-web` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0.20-3.21.3 |
| `susemanager-tftpsync-recv` | SUSE:Manager Proxy Module 4.0 | All versions | 4.0.6-3.3.2 |
| `branch-network-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.1.1583842676.2fc2fa6-3.13.2 |
| `cobbler` | SUSE:Manager Server Module 4.0 | All versions | 3.0.0+git20190806.32c4bae0-7.10.2 |
| `dhcpd-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.1.1583829431.db6edda-3.11.2 |
| `grafana-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.2-4.7.2 |
| `image-sync-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.1.1585064259.12b97ef-3.14.2 |
| `openvpn-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.1-4.3.1 |
| `patterns-suse-manager` | SUSE:Manager Server Module 4.0 | All versions | 4.0-9.13.2 |
| `prometheus-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.2-4.10.2 |
| `pxe-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.1.1586937953.e458f5c-3.14.2 |
| `py26-compat-salt` | SUSE:Manager Server Module 4.0 | All versions | 2016.11.10-10.14.2 |
| `python-susemanager-retail` | SUSE:Manager Server Module 4.0 | All versions | 1.0.1583842676.2fc2fa6-3.16.2 |
| `saltboot-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.1.1587051918.6bc9e88-3.10.2 |
| `spacewalk` | SUSE:Manager Server Module 4.0 | All versions | 4.0.5-3.3.2 |
| `spacewalk-backend` | SUSE:Manager Server Module 4.0 | All versions | 4.0.31-3.26.3 |
| `spacewalk-certs-tools` | SUSE:Manager Server Module 4.0 | All versions | 4.0.16-3.18.2 |
| `spacewalk-client-tools` | SUSE:Manager Server Module 4.0 | All versions | 4.0.13-3.16.2 |
| `spacewalk-java` | SUSE:Manager Server Module 4.0 | All versions | 4.0.32-3.26.2 |
| `spacewalk-utils` | SUSE:Manager Server Module 4.0 | All versions | 4.0.17-3.18.2 |
| `spacewalk-web` | SUSE:Manager Server Module 4.0 | All versions | 4.0.20-3.21.3 |
| `susemanager` | SUSE:Manager Server Module 4.0 | All versions | 4.0.23-3.23.3 |
| `susemanager-doc-indexes` | SUSE:Manager Server Module 4.0 | All versions | 4.0-10.21.2 |
| `susemanager-docs_en` | SUSE:Manager Server Module 4.0 | All versions | 4.0-10.21.2 |
| `susemanager-schema` | SUSE:Manager Server Module 4.0 | All versions | 4.0.19-3.20.2 |
| `susemanager-sls` | SUSE:Manager Server Module 4.0 | All versions | 4.0.25-3.20.2 |
| `susemanager-tftpsync` | SUSE:Manager Server Module 4.0 | All versions | 4.0.6-3.3.2 |
| `virtual-host-gatherer` | SUSE:Manager Server Module 4.0 | All versions | 1.0.20-3.6.2 |
| `virtualization-host-formula` | SUSE:Manager Server Module 4.0 | All versions | 0.3-4.6.2 |

Products: Opensuse Leap, Substack Minimist.

## How do I fix CVE-2020-7598?

Upgrade minimist to a fixed version for your release line: 0.2.1 or 1.2.3.

## Is CVE-2020-7598 being exploited?

There is no known exploitation of CVE-2020-7598 in the wild and no public exploit code.

Public exploit code:

- https://github.com/renewablehacking/CVE-2020-7598 (github_poc): https://github.com/renewablehacking/CVE-2020-7598

## Other vulnerabilities in Opensuse Leap

- [CVE-2015-4902](https://insights.sbomify.com/CVE-2015-4902/): Oracle Java SE Integrity Check (medium 5.3, exploited in the wild)
- [CVE-2017-14804](https://insights.sbomify.com/CVE-2017-14804/): package builds could use directory traversal to write outside of target area (critical 9.9)
- [CVE-2019-20787](https://insights.sbomify.com/CVE-2019-20787/): Teeworlds before 0.7.4 has an integer overflow when computing a tilemap size. (critical 9.8)
- [CVE-2019-8341](https://insights.sbomify.com/CVE-2019-8341/): Code injection in n/a (critical 9.8)
- [CVE-2019-6438](https://insights.sbomify.com/CVE-2019-6438/): Other in n/a (critical 9.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-7598 and fix it if it is affected.

What it is: CVE-2020-7598 is a medium-severity vulnerability in Opensuse Leap, published on 11 Mar 2020. 
Exploitation: There is no known exploitation of CVE-2020-7598 in the wild and no public exploit code.

Affected packages and fixed versions:
- minimist (npm): affected all versions; fixed in 0.2.1
- minimist (npm): affected all versions; fixed in 0.2.1
- minimist (npm): affected from 1.0.0; fixed in 1.2.3
- minimist (npm): affected from 1.0.0; fixed in 1.2.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-7598/ (Markdown: https://insights.sbomify.com/CVE-2020-7598/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-7598
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-7598
- OSV: https://osv.dev/vulnerability/CVE-2020-7598

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-7598/
Summaries are generated and may contain mistakes; the official description above is the record.
