Yoavmartin / JS-Demo

Apache License 2.0
0 stars 4 forks source link

CVE-2021-43138 (High) detected in multiple libraries - autoclosed #517

Closed mend-for-github-com[bot] closed 1 year ago

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

CVE-2021-43138 - High Severity Vulnerability

Vulnerable Libraries - async-0.2.10.tgz, async-0.2.9.tgz, async-1.5.2.tgz

async-0.2.10.tgz

Higher-order functions and common patterns for asynchronous code

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/broadway/node_modules/async/package.json,/node_modules/utile/node_modules/async/package.json,/node_modules/uglify-js/node_modules/async/package.json,/node_modules/winston/node_modules/async/package.json

Dependency Hierarchy: - swig-1.4.2.tgz (Root Library) - uglify-js-2.4.24.tgz - :x: **async-0.2.10.tgz** (Vulnerable Library)

async-0.2.9.tgz

Higher-order functions and common patterns for asynchronous code

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/broadway/node_modules/nconf/node_modules/async/package.json

Dependency Hierarchy: - forever-3.0.4.tgz (Root Library) - flatiron-0.4.3.tgz - broadway-0.3.6.tgz - nconf-0.6.9.tgz - :x: **async-0.2.9.tgz** (Vulnerable Library)

async-1.5.2.tgz

Higher-order functions and common patterns for asynchronous code

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/forever-monitor/node_modules/async/package.json,/node_modules/forever/node_modules/async/package.json,/node_modules/nconf/node_modules/async/package.json

Dependency Hierarchy: - forever-3.0.4.tgz (Root Library) - :x: **async-1.5.2.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,3.2.2

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.