CVE-2021-44906 Prototype Pollution in minimist

Critical 9.8 Published Updated

Attackers can exploit prototype pollution in the Minimist library to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-44906?

CVE-2021-44906 is a critical vulnerability in n/a, published on 17 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Weakness: CWE-1321

Which versions are affected by CVE-2021-44906?

4 open source packages ship an affected version, including minimist. It affects 1 product.

PackageAffectedFixed in
minimist npmAll versions0.2.4
minimist npmAll versions0.2.4
minimist npmFrom 1.0.01.2.6
minimist npmFrom 1.0.01.2.6

Products include Substack Minimist.

How do I fix CVE-2021-44906?

Upgrade minimist to a fixed version for your release line: 0.2.4 or 1.2.6.

Is CVE-2021-44906 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as AZL-44583, DEBIAN-CVE-2021-44906, GHSA-xvch-5gv4-984h, MGASA-2023-0035, MINI-hrcg-gx8x-327p, OESA-2022-1665 and 2 more.

Is CVE-2021-44906 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free