rvvergara / advanced-web-developer-bootcamp-notes-examples-and-exercises

Examples and Exercises compiled. From the awesome Advanced Web Developer Bootcamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2021-43138 (High) detected in async-2.6.1.tgz

mend-bolt-for-github opened this issue · comments

CVE-2021-43138 - High Severity Vulnerability

Vulnerable Library - async-2.6.1.tgz

Higher-order functions and common patterns for asynchronous code

Library home page: https://registry.npmjs.org/async/-/async-2.6.1.tgz

Path to dependency file: /Section29-Component-LifeCycle-Methods/flag-guessing-game/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/async/package.json

Dependency Hierarchy:

  • mongoose-5.2.4.tgz (Root Library)
    • async-2.6.1.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2022-04-06

URL: CVE-2021-43138

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2021-43138

Release Date: 2022-04-06

Fix Resolution (async): 2.6.4

Direct dependency fix Resolution (mongoose): 5.7.3


Step up your Open Source Security Game with Mend here