PT-2020-6963 · Minimist+7 · Minimist+7

Published

2020-04-03

·

Updated

2026-06-04

·

CVE-2021-44906

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Minimist versions 0.2.4 and earlier, 1.2.5 and earlier
Description The issue is related to a Prototype Pollution vulnerability via the file index.js, specifically the setKey() function. This vulnerability can be exploited if an attacker has control over the arguments being passed to minimist, allowing them to modify the prototype of Object and add or modify existing properties. For example, parsing the argument -- proto .y=Polluted can add a y property with value Polluted to all objects. The argument -- proto =Polluted can raise an uncaught error and crash the application.
Recommendations For Minimist version 0.2.4 and earlier, upgrade to version 0.2.1 or later. For Minimist version 1.2.5 and earlier, upgrade to version 1.2.3 or later. As a temporary workaround, consider restricting the use of the setKey() function in the index.js file until a patch is available. Avoid using the -- proto argument in the affected API endpoint until the issue is resolved.

Exploit

Fix

DoS

Prototype Pollution

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:9073
ALSA-2023:0050
ALSA-2023:0321
AZL-44583
BDU:2024-01534
CESA-2022_9073
CESA-2023_0050
CVE-2021-44906
GHSA-VH95-RMGR-6W4M
GHSA-XVCH-5GV4-984H
MGASA-2023-0035
OESA-2022-1665
OPENSUSE-SU-2022_1461-1
OPENSUSE-SU-2022_1462-1
OPENSUSE-SU-2022_1694-1
OPENSUSE-SU-2022_1717-1
RHSA-2022:4914
RHSA-2022:5892
RHSA-2022:5893
RHSA-2022:5894
RHSA-2022:7044
RHSA-2022:9073
RHSA-2022_9073
RHSA-2023:0050
RHSA-2023:0321
RHSA-2023:0612
RHSA-2023:1043
RHSA-2023:1044
RHSA-2023:1045
RHSA-2023:1533
RHSA-2023:1742
RHSA-2023_0050
RHSA-2023_0321
RHSA-2025:1747
RLSA-2022:9073
RLSA-2023:0050
RLSA-2023:0321
SNYK-JS-MINIMIST-559764
SUSE-SU-2022:1459-1
SUSE-SU-2022:1461-1
SUSE-SU-2022:1462-1
SUSE-SU-2022:1466-1
SUSE-SU-2022:1694-1
SUSE-SU-2022:1717-1
SUSE-SU-2022:2144-1
SUSE-SU-2022:2146-1
SUSE-SU-2022_1466-1
SUSE-SU-2022_1717-1

Affected Products

Almalinux
Astra Linux
Centos
Minimist
Red Hat
Red Os
Rocky Linux
Suse