Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. async
  4. ›
  5. CVE-2021-43138

CVE-2021-43138: Prototype Pollution in async

April 6, 2022 (updated November 7, 2023)

A vulnerability exists in Async through 3.2.1 (fixed in 3.2.2), which could let a malicious user obtain privileges via the mapValues() method.

References

  • github.com/advisories/GHSA-fwr7-v2mv-hh25
  • github.com/caolan/async/blob/master/lib/internal/iterator.js
  • github.com/caolan/async/blob/master/lib/mapValuesLimit.js
  • github.com/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66d
  • jsfiddle.net/oz5twjd9/
  • nvd.nist.gov/vuln/detail/CVE-2021-43138

Code Behaviors & Features

Detect and mitigate CVE-2021-43138 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.4, all versions starting from 3.0.0 before 3.2.2

Fixed versions

  • 2.6.4
  • 3.2.2

Solution

Upgrade to versions 2.6.4, 3.2.2 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/async/CVE-2021-43138.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.