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(deps) CVE–2021–43138 #6662

Merged
merged 3 commits into from Jan 26, 2024

Conversation

debricked[bot]
Copy link
Contributor

@debricked debricked bot commented Jan 26, 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

    Prototype Pollution in async · CVE-2021-43138 · GitHub Advisory Database · GitHub
    v2.6.4
    NVD - CVE-2021-43138
    npm/async/CVE-2021-43138.yml · main · GitLab.org / GitLab Advisory Database Open Source Edition · GitLab
    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

 

Related information

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

 

Copy link

cloudflare-pages bot commented Jan 26, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0c81ccb
Status: ✅  Deploy successful!
Preview URL: https://06e17841.immich.pages.dev
Branch Preview URL: https://debricked-fix-cve-2021-43138.immich.pages.dev

View logs

@etnoy etnoy added the dependencies Pull requests that update a dependency file label Jan 26, 2024
@etnoy etnoy self-assigned this Jan 26, 2024
Copy link
Contributor

@etnoy etnoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works fine

@etnoy etnoy changed the title Fix CVE–2021–43138 fix(deps) CVE–2021–43138 Jan 26, 2024
@jrasm91 jrasm91 merged commit 48fd64a into main Jan 26, 2024
25 checks passed
@jrasm91 jrasm91 deleted the debricked-fix-CVE_2021_43138-6b011b9de0065e52 branch January 26, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants