Tim-sandbox / barista

Apache License 2.0
0 stars 0 forks source link

CVE-2021-43138 (High) detected in async-3.2.0.tgz, async-2.6.3.tgz #153

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2021-43138 - High Severity Vulnerability

Vulnerable Libraries - async-3.2.0.tgz, async-2.6.3.tgz

async-3.2.0.tgz

Higher-order functions and common patterns for asynchronous code

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

Path to dependency file: /barista-api/package.json

Path to vulnerable library: /barista-api/node_modules/async/package.json,/barista-scan/node_modules/async/package.json

Dependency Hierarchy: - winston-3.3.3.tgz (Root Library) - :x: **async-3.2.0.tgz** (Vulnerable Library)

async-2.6.3.tgz

Higher-order functions and common patterns for asynchronous code

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

Path to dependency file: /barista-docs/package.json

Path to vulnerable library: /barista-docs/node_modules/async/package.json,/barista-web/node_modules/async/package.json

Dependency Hierarchy: - build-angular-0.1102.13.tgz (Root Library) - webpack-dev-server-3.11.2.tgz - portfinder-1.0.28.tgz - :x: **async-2.6.3.tgz** (Vulnerable Library)

Found in HEAD commit: 2b8e77b2ff0d688bfd2ffb44061287e82fa71967

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): 3.2.2

Direct dependency fix Resolution (winston): 3.4.0

Fix Resolution (async): 2.6.4

Direct dependency fix Resolution (@angular-devkit/build-angular): 13.3.3


:rescue_worker_helmet: Automatic Remediation is available for this issue