Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVE–2021–43138 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

debricked[bot]
Copy link

@debricked debricked bot commented Apr 20, 2024

CVE–2021–43138

Vulnerability details

Description

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

NVD

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

Prototype Pollution in async

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.

GitLab Advisory Database (Open Source Edition)

Prototype Pollution in async

A vulnerability exists in Async through 3.2.1 (fixed in 3.2.2), which could let a malicious user obtain privileges via the mapValues() method.

CVSS details - 7.8

 

CVSS3 metrics
Attack Vector Local
Attack Complexity Low
Privileges Required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
References

    async/CHANGELOG.md at v2.6.4 · caolan/async · GitHub
    NVD - CVE-2021-43138
    npm/async/CVE-2021-43138.yml · main · GitLab.org / GitLab Advisory Database Open Source Edition · GitLab
    Prototype Pollution in async · CVE-2021-43138 · GitHub Advisory Database · GitHub
    Fix prototype pollution vulnerability · caolan/async@e1ecdbf · GitHub
    async/lib/internal/iterator.js at master · caolan/async · GitHub
    Edit fiddle - JSFiddle - Code Playground
    async/lib/mapValuesLimit.js at master · caolan/async · GitHub
    Fix prototype pollution vulnerability (#1828) · caolan/async@8f7f903 · GitHub
    Fix prototype pollution vulnerability by mriedem · Pull Request #1828 · caolan/async · GitHub
    Comparing v2.6.3...v2.6.4 · caolan/async · GitHub
    [SECURITY] Fedora 37 Update: yarnpkg-1.22.19-3.fc37 - package-announce - Fedora Mailing-Lists
    [SECURITY] Fedora 36 Update: yarnpkg-1.22.19-3.fc36 - package-announce - Fedora Mailing-Lists
    Edit fiddle - JSFiddle - Code Playground
    [SECURITY] Fedora 37 Update: yarnpkg-1.22.19-3.fc37 - package-announce - Fedora Mailing-Lists
    [SECURITY] Fedora 36 Update: yarnpkg-1.22.19-3.fc36 - package-announce - Fedora Mailing-Lists

 

Related information

📌 Remember! Check the changes to ensure they don't introduce any breaking changes.
📚 Read more about the CVE

 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants