---
title: "GHSA-fwr7-v2mv-hh25: Prototype Pollution in async"
description: "High severity. Prototype Pollution in async. Affects async; fixed in 3.2.2."
url: https://inlinr.com/advisories/GHSA-fwr7-v2mv-hh25
lang: en
---

[Packages](https://inlinr.com/packages) / [async](https://inlinr.com/packages/async) / [Security](https://inlinr.com/packages/async/security)

High Vulnerability GHSA-fwr7-v2mv-hh25 CVE-2021-43138 Published 7 Apr 2022

# Prototype Pollution in async

Your version 

Affected releases · [async](https://inlinr.com/packages/async)

- 3.x 3.0.0 – 3.2.1 Fixed in 3.2.2
- 2.x 2.0.0 – 2.6.3 Fixed in 2.6.4

On 3.x, the newest line:

```
npm install async@3.2.2
```

Every release on a timeline

3.x 

1. Affected

3.0.0 – 3.2.1  
6 releases
2. Fixed

3.2.2 – 3.2.6  
5 releases, latest

2.x 

1. Affected

2.0.0 – 2.6.3  
16 releases
2. Fixed

2.6.4  
1 release

86 stable releases of async, oldest to newest, one row per major.

## What happens

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.

## How it is exploited

Exploitable with local access, with no account and a user to do something.

- **Confidentiality**: high
- **Integrity**: high
- **Availability**: high

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

## References

- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-43138 "https://nvd.nist.gov/vuln/detail/CVE-2021-43138")  
nvd.nist.gov/vuln/detail/CVE-2021-43138
- [Pull request](https://github.com/caolan/async/pull/1828 "https://github.com/caolan/async/pull/1828")  
#1828
- [Fix commit](https://github.com/caolan/async/commit/8f7f90342a6571ba1c197d747ebed30c368096d2 "https://github.com/caolan/async/commit/8f7f90342a6571ba1c197d747ebed30c368096d2")  
8f7f903
- [Fix commit](https://github.com/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66d "https://github.com/caolan/async/commit/e1ecdbf79264f9ab488c7799f4c76996d5dca66d")  
e1ecdbf
- [Package](https://github.com/caolan/async "https://github.com/caolan/async")  
github.com/caolan/async
- [Reference](https://github.com/caolan/async/blob/master/lib/internal/iterator.js "https://github.com/caolan/async/blob/master/lib/internal/iterator.js")  
github.com/caolan/async/blob/master/lib/interna…
- [Reference](https://github.com/caolan/async/blob/master/lib/mapValuesLimit.js "https://github.com/caolan/async/blob/master/lib/mapValuesLimit.js")  
github.com/caolan/async/blob/master/lib/mapValu…
- [Reference](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md#v264 "https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md#v264")  
github.com/caolan/async/blob/v2.6.4/CHANGELOG.md
- [Reference](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 "https://github.com/caolan/async/compare/v2.6.3...v2.6.4")  
v2.6.3...v2.6.4
- [Reference](https://jsfiddle.net/oz5twjd9 "https://jsfiddle.net/oz5twjd9")  
jsfiddle.net/oz5twjd9
- [Reference](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/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3")  
lists.fedoraproject.org/archives/list/package-a…
- [Reference](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK")  
lists.fedoraproject.org/archives/list/package-a…
- [Reference](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3 "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTEUUTNIEBHGKUKKLNUZSV7IEP6IP3Q3")  
lists.fedoraproject.org/archives/list/package-a…
- [Reference](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM6XJ73Q3NAM5KSGCOKJ2ZIA6GUWUJLK")  
lists.fedoraproject.org/archives/list/package-a…
- [Reference](https://security.netapp.com/advisory/ntap-20240621-0006 "https://security.netapp.com/advisory/ntap-20240621-0006")  
security.netapp.com/advisory/ntap-20240621-0006

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
