Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43138

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-43138
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:00 UTC · Revision 1

Source evidence

CVE-2021-43138

core-osv · Original source

Published 6 Apr 2022, 17:15 UTC

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.

osv:CVE-2021-43138
Complete source record
{
  "id": "5c5e7b39aaaeda5a1591321349ff220b4883ae3ea14a06719a33d0b13c7a4fc5",
  "url": "https://osv.dev/vulnerability/CVE-2021-43138",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43138",
    "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.",
    "evidence": "osv:CVE-2021-43138",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-43138",
      "aliases": [
        "CVE-2021-43138",
        "GHSA-fwr7-v2mv-hh25"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/caolan/async",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c6bdaca4f9175c14fc655d3783c6af6a883e6514"
                },
                {
                  "introduced": "72de392b6dffc466419ae7cab419d3b120d2459d"
                },
                {
                  "fixed": "acc084e6916a86e02ac5de8dbda0517e33106bf5"
                },
                {
                  "fixed": "e1ecdbf79264f9ab488c7799f4c76996d5dca66d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:async_project:async:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.6.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:async_project:async:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e1ecdbf79264f9ab488c7799f4c76996d5dca66d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.6.3",
            "v3.2.1",
            "v3.2.0",
            "v3.1.1",
            "v2.6.2",
            "v3.1.0",
            "v3.0.1",
            "v3.0.0",
            "v2.6.1",
            "v2.6.0",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-rc.6",
            "v2.0.0-rc.5",
            "v2.0.0-rc.4",
            "v2.0.0-rc.3",
            "v2.0.0-rc.2",
            "v2.0.0-rc.1",
            "v2.0.0-alpha.0",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.2",
            "v1.4.0",
            "v1.3.0",
            "1.2.1",
            "1.1.0",
            "1.2.0",
            "v1.2.0",
            "1.0.0",
            "0.9.2",
            "0.9.1",
            "0.9.0",
            "0.8.0",
            "0.7.0",
            "0.6.2",
            "0.6.1",
            "0.6.0",
            "0.5.0",
            "0.4.1",
            "0.4.0",
            "0.3.0",
            "0.2.10",
            "0.2.9",
            "0.2.8",
            "0.2.7",
            "0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.22",
            "v0.1.21",
            "v0.1.20",
            "v0.1.19",
            "v0.1.17",
            "v0.1.15",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43138.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:02.927382450Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/",
        "https://github.com/caolan/async/blob/master/lib/internal/iterator.js",
        "https://github.com/caolan/async/blob/master/lib/mapValuesLimit.js",
        "https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md#v264",
        "https://security.netapp.com/advisory/ntap-20240621-0006/",
        "https://github.com/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66d",
        "https://github.com/caolan/async/compare/v2.6.3...v2.6.4",
        "https://github.com/caolan/async/pull/1828",
        "https://jsfiddle.net/oz5twjd9/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "36"
                  },
                  {
                    "last_affected": "36"
                  },
                  {
                    "introduced": "37"
                  },
                  {
                    "last_affected": "37"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-43138",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386775,
  "published_at": "2022-04-06T17:15:08.65+00:00"
}