CVE-2021-43138
JSON

7.8high

Prototype Pollution in async

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
3.35% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fwr7-v2mv-hh25

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
async (npm)from 3.0.0 before 3.2.2, from 2.0.0 before 2.6.4GitHub Advisory Database
async_project asyncbefore 2.6.4, from 3.0.0 before 3.2.2NVD
fedoraproject fedora36, 37NVD

All scores

GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

A vulnerability exists in Async through 3.2.1 for 3.x and through 2.6.3 for 2.x (fixed in 3.2.2 and 2.6.4), which could let a malicious user obtain privileges via the mapValues() method.

NVD (es)

En Async antes de la versión 2.6.4 y 3.x antes de la versión 3.2.2, un usuario malicioso puede obtener privilegios a través del método mapValues(), también conocido como contaminación del prototipo lib/internal/iterator.js createObjectIterator

References

https://github.com/caolan/async/blob/master/lib/internal/iterator.jsthird-party-advisory, web
https://github.com/caolan/async/blob/master/lib/mapValuesLimit.jsthird-party-advisory, web
https://jsfiddle.net/oz5twjd9/exploit, third-party-advisory
https://github.com/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66dpatch, third-party-advisory, web
https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md#v264release-notes, third-party-advisory, web
https://github.com/caolan/async/pull/1828patch, third-party-advisory, web
https://github.com/caolan/async/compare/v2.6.3...v2.6.4patch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/vendor-advisory
https://security.netapp.com/advisory/ntap-20240621-0006/
https://nvd.nist.gov/vuln/detail/CVE-2021-43138advisory
https://github.com/caolan/async/commit/8f7f90342a6571ba1c197d747ebed30c368096d2web

Sources

SourceRecordLicence
CVE ListCVE-2021-43138 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-fwr7-v2mv-hh25 changed 2024-06-24CC-BY-4.0
NVDCVE-2021-43138 changed 2026-06-17Public domain