CVE-2021-43138 json
Prototype Pollution in async
published 2022-04-06 4 y ago modified 2026-06-17 4 mo ago also GHSA-fwr7-v2mv-hh25 , EUVD-2022-1728
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
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.
Patch / fix
- npm async 2.6.4, 3.2.2
- async_project async 2.6.4, 3.2.2
- grafana SLE Module for Package Hub 15 SP5, openSUSE Leap 15.5 9.5.8-150200.3.53.2
- grafana Manager Client Tools 15 9.5.8-150000.1.60.2
- spacecmd openSUSE Leap 15.5, Manager Client Tools 15 4.3.26-150000.3.113.1
- mgr-daemon Manager Client Tools 15 4.3.8-150000.1.44.1
- spacewalk-client-tools Manager Client Tools 15 4.3.18-150000.3.86.2
- prometheus-postgres_exporter openSUSE Leap 15.5, Manager Client Tools 15 0.10.1-150000.1.17.1
- uyuni-proxy-systemd-services Manager Client Tools for SLE Micro 5, Manager Client Tools 15 4.3.10-150000.1.15.1
- golang-github-prometheus-prometheus Manager Client Tools 15 2.45.0-150000.3.53.1
suse advisories SUSE-RU-2024:0511-1SUSE-SU-2024:0487-1SUSE-SU-2024:0486-1SUSE-SU-2024:0196-1SUSE-SU-2024:0191-1SUSE-SU-2023:2579-1
- grafana openSUSE Tumbleweed 9.3.6-1.1
opensuse advisories openSUSE-SU-2024:12723-1
- github.com/caolan/async@e1ecdbf commit
- github.com/caolan/async@8f7f903 commit
- github.com/caolan/async#1828 pull request
- github.com/caolan/async/compare/v2.6.3...v2.6.4 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-43138 updated cvss 7.8
async: Prototype Pollution in async
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-ui-rhel8affected: no fix available “Fix deferred”
-
Red Hat OpenShift Developer Tools and Services odo Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheus, openshift-service-mesh/kiali-rhel8affected: no fix available
-
Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana, servicemesh-prometheus, openshift-service-mesh/kiali-rhel8affected: no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/application-ui-rhel8affected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 4 cockpit-ceph-installeraffected: no fix planned “Will not fix”
-
Red Hat Decision Manager 7 async Red Hat Enterprise Linux 6 firefox Red Hat Enterprise Linux 7 firefoxaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 pcs, grafana, pcs-snmp, grafana-loki, grafana-mssql, grafana-mysql, +10 more Red Hat Enterprise Linux 9 gjs, grafana, grafana-selinux Red Hat Fuse 7 asyncaffected: no fix planned “Will not fix”
show 10 moreshow fewer
-
Red Hat Integration Service Registry async Red Hat JBoss Data Grid 7 asyncaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-consoleaffected: no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8affected: no fix available
-
Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel8, noobaa-core-container, odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel8affected: no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-query-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8affected: no fix planned “Will not fix”
-
Red Hat Process Automation 7 asyncaffected: no fix planned “Out of support scope”
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available
-
Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.7-3fixed: vendor fix RHSA-2023:0693
-
Red Hat RHOSSM 2.2 for RHEL 8 openshift-service-mesh/prometheus-rhel8 2.2.7-7fixed: vendor fix RHSA-2023:3645
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8 Red Hat A-MQ Online async Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/console-rhel8, rhacm2/search-ui-rhel8, rhacm2/grc-ui-api-rhel8, rhacm2/search-api-rhel8, rhacm2/console-api-rhel8, +1 more Red Hat Ansible Automation Platform 2 aap-azure-ui Red Hat build of Apicurio Registry 2 async Red Hat Data Grid 8 asyncnot affected: vulnerable code not present
+9 more productsfewer
Red Hat Enterprise Linux 8 mozjs60 Red Hat Enterprise Linux 9 polkit, polkit-libs Red Hat Integration Camel K 1 async Red Hat JBoss Enterprise Application Platform 7 async Red Hat JBoss Enterprise Application Platform Expansion Pack async Red Hat Migration Toolkit 1.7 rhmtc/openshift-velero-plugin-rhel8 v1.7.7-3, rhmtc/openshift-migration-velero-rhel8 v1.7.7-5, rhmtc/openshift-migration-openvpn-rhel8 v1.7.7-2, rhmtc/openshift-migration-registry-rhel8 v1.7.7-3, rhmtc/openshift-migration-rhel8-operator v1.7.7-9, rhmtc/openshift-migration-operator-bundle v1.7.7-9, +10 more Red Hat OpenShift Container Platform 4 openshift4/ose-console Red Hat OpenShift Dev Spaces devspaces-theia-endpoint-rhel8-container Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-all-in-one-rhel8
1 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.35% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- jsfiddle.net https://jsfiddle.net/oz5twjd9/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | async | >=3.0.0, <3.2.2 >=2.0.0, <2.6.4 |
3.2.2 2.6.4 |
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66d
web, patch, third-party-advisory
-
github.com
/caolan/async/pull/1828
web, patch, third-party-advisory
-
github.com
/caolan/async/compare/v2.6.3...v2.6.4
web, patch, third-party-advisory
-
github.com
/caolan/async/commit/8f7f90342a6571ba1c197d747ebed30c368096d2
web
-
jsfiddle.net
/oz5twjd9/
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK/
vendor-advisory
-
github.com
/caolan/async/blob/master/lib/internal/iterator.js
web, third-party-advisory
-
github.com
/caolan/async/blob/master/lib/mapValuesLimit.js
web, third-party-advisory
-
github.com
/caolan/async/blob/v2.6.4/CHANGELOG.md#v264
web, release-notes, third-party-advisory
- security.netapp.com /advisory/ntap-20240621-0006/
-
nvd.nist.gov
/vuln/detail/CVE-2021-43138
advisory
-
github.com
/caolan/async
package
-
jsfiddle.net
/oz5twjd9
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK
web
-
security.netapp.com
/advisory/ntap-20240621-0006
web
Sources
- CVE List CVE-2021-43138
- GitHub Advisory GHSA-fwr7-v2mv-hh25
- NVD CVE-2021-43138
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.