kapseliboi / mimic

Seamless client side mocking
https://mimic.js.org
MIT License
0 stars 0 forks source link

CVE-2017-20162 (Medium) detected in ms-0.7.1.tgz, ms-0.7.2.tgz #131

Open mend-bolt-for-github[bot] opened 1 year ago

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

CVE-2017-20162 - Medium Severity Vulnerability

Vulnerable Libraries - ms-0.7.1.tgz, ms-0.7.2.tgz

ms-0.7.1.tgz

Tiny ms conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mocha-nightwatch/node_modules/ms/package.json,/node_modules/socket.io-parser/node_modules/ms/package.json,/node_modules/compression/node_modules/ms/package.json

Dependency Hierarchy: - karma-1.7.0.tgz (Root Library) - socket.io-1.7.3.tgz - socket.io-parser-2.3.1.tgz - debug-2.2.0.tgz - :x: **ms-0.7.1.tgz** (Vulnerable Library)

ms-0.7.2.tgz

Tiny milisecond conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/socket.io-client/node_modules/ms/package.json,/node_modules/socket.io/node_modules/ms/package.json,/node_modules/engine.io-client/node_modules/ms/package.json,/node_modules/socket.io-adapter/node_modules/ms/package.json,/node_modules/engine.io/node_modules/ms/package.json

Dependency Hierarchy: - karma-1.7.0.tgz (Root Library) - socket.io-1.7.3.tgz - socket.io-client-1.7.3.tgz - debug-2.3.3.tgz - :x: **ms-0.7.2.tgz** (Vulnerable Library)

Found in HEAD commit: 6d4fe404335bf56c57080e4ab1425b65bbe3ac2f

Found in base branch: master

Vulnerability Details

A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. This issue affects the function parse of the file index.js. The manipulation of the argument str leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The patch is named caae2988ba2a37765d055c4eee63d383320ee662. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.

Publish Date: 2023-01-05

URL: CVE-2017-20162

CVSS 3 Score Details (4.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-01-05

Fix Resolution (ms): 2.0.0

Direct dependency fix Resolution (karma): 2.0.0

Fix Resolution (ms): 2.0.0

Direct dependency fix Resolution (karma): 2.0.0


Step up your Open Source Security Game with Mend here