Skip to main content

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

CVE-2021-43138

  • async
  • org.webjars.bower:async
  • org.webjars.bowergithub.caolan:async
  • org.webjars.npm:async
Severity High
Score 7.8/10

Summary

In Async before 2.6.4 and 3.x before 3.2.2, a malicious user can obtain privileges via the "mapValues()" method, aka "lib/internal/iterator.js" "createObjectIterator" Prototype Pollution.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • REQUIRED
  • 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