kristakunkle / vulnerable-node

A very vulnerable web site written in NodeJS with the purpose of have a project with identified vulnerabilities to test the quality of security analyzers tools tools
Other
0 stars 0 forks source link

serve-favicon-2.3.2.tgz: 1 vulnerabilities (highest severity is: 5.3) - autoclosed #35

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

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - serve-favicon-2.3.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/serve-favicon/node_modules/ms/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (serve-favicon version) Remediation Available
CVE-2017-20162 Medium 5.3 ms-0.7.2.tgz Transitive 2.4.3

Details

CVE-2017-20162 ### 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/serve-favicon/node_modules/ms/package.json

Dependency Hierarchy: - serve-favicon-2.3.2.tgz (Root Library) - :x: **ms-0.7.2.tgz** (Vulnerable Library)

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 name of the patch is 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 (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - 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 (serve-favicon): 2.4.3

:rescue_worker_helmet: Automatic Remediation is available for this issue

:rescue_worker_helmet: Automatic Remediation is available for this issue.