CVE-2021-44906
JavaScript vulnerability analysis and mitigation

Overview

Minimist version 1.2.5 and earlier contains a Prototype Pollution vulnerability in the setKey() function (lines 69-95) of index.js. The vulnerability was discovered and disclosed in December 2021 (NVD).

Technical details

The vulnerability is classified as a Prototype Pollution issue (CWE-1321) that allows an attacker to modify object prototype attributes. The vulnerability has a CVSS v3.1 base score of 9.8 CRITICAL with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The vulnerability exists in the setKey() function implementation which does not properly validate input, allowing manipulation of JavaScript language construct prototypes (Snyk).

Impact

Successful exploitation of this vulnerability could lead to Prototype Pollution, allowing an attacker to add or modify properties of Object.prototype using constructor or proto payload. This could result in denial of service, remote code execution, or property injection depending on how the affected application uses the polluted objects (Snyk).

Mitigation and workarounds

The vulnerability has been fixed in minimist version 1.2.6. Users should upgrade to version 1.2.6 or later to address this vulnerability. If upgrading is not immediately possible, consider implementing input validation or using objects without prototypes (Object.create(null)) as a workaround (Snyk).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management