Skip to main content

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in minimist

CVE-2021-44906

  • minimist
  • org.webjars.npm:minimist
Severity High
Score 9.8/10

Summary

Minimist is vulnerable to Prototype Pollution via file "index.js", function "setKey()" (lines 69-95). This issue affects minimist versions prior to 0.2.4, and 1.x prior to 1.2.6.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-1321 - Prototype Pollution

Prototype pollution is one of the lesser-known vulnerabilities. It allows attackers to abuse the rules of JavaScript by injecting properties into the general object “Object” in JS. Modifying the prototype of “Object” affects the behavior of all objects in the entire app, potentially resulting in denial of service, arbitrary code execution, cross-site scripting, etc.

Advisory Timeline

  • Published