CVE-2021-43138: High severity async vulnerability

Published Apr 6, 2022
·
Updated

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.

Other sources

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.

https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Red Hat

A vulnerability was found in the async package. This flaw allows a malicious user to obtain privileges via the mapValues() method.

Async could allow a remote attacker to execute arbitrary code on the system, caused by prototype pollution in the mapValues() method. By persuading a victim to open a specially-crafted file, an attacker could exploit this vulnerability to execute arbitrary code on the system.

IBM

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 Software

14 affected componentsFixes available
redhat/async<3.2.2
3.2.2
redhat/async<2.6.4
2.6.4
npm/async>=2.0.0<2.6.4
2.6.4
npm/async>=3.0.0<3.2.2
3.2.2
Async Project Async<2.6.4
Async Project Async>=3.0.0<3.2.2
Fedoraproject Fedora=36
Fedoraproject Fedora=37
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7

Event History

Apr 6, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Apr 7, 2022
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:00 AM
Aug 15, 2025
Data Sourced
via IBM·03:29 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this flaw in async package?

The vulnerability ID is CVE-2021-43138.

2

What is the severity level of CVE-2021-43138?

The severity level of CVE-2021-43138 is high with a CVSS score of 7.8.

3

How can a remote attacker exploit CVE-2021-43138?

A remote attacker can exploit CVE-2021-43138 by persuading a victim to open a specially-crafted file, allowing them to execute arbitrary code on the system.

4

Which versions of the async package are affected by CVE-2021-43138?

The async package versions up to and excluding 3.2.2 and 2.6.4 are affected by CVE-2021-43138.

5

How can I fix the vulnerability in async package with CVE-2021-43138?

To fix the vulnerability in async package with CVE-2021-43138, update to version 3.2.2 (for versions 3.x) or 2.6.4 (for versions 2.x).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203