sultanabubaker / SAST-npm-project

0 stars 0 forks source link

slug-0.9.1.tgz: 1 vulnerabilities (highest severity is: 7.5) #10

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

dev-mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - slug-0.9.1.tgz

slugifies even utf-8 chars!

Library home page: https://registry.npmjs.org/slug/-/slug-0.9.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/slug/package.json

Found in HEAD commit: d804f0146ba2b48648893ac54a20b8bcb43f60d5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2017-16117 High 7.5 slug-0.9.1.tgz Direct 0.9.2

Details

CVE-2017-16117 ### Vulnerable Library - slug-0.9.1.tgz

slugifies even utf-8 chars!

Library home page: https://registry.npmjs.org/slug/-/slug-0.9.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/slug/package.json

Dependency Hierarchy: - :x: **slug-0.9.1.tgz** (Vulnerable Library)

Found in HEAD commit: d804f0146ba2b48648893ac54a20b8bcb43f60d5

Found in base branch: main

### Vulnerability Details

slug is a module to slugify strings, even if they contain unicode. slug is vulnerable to regular expression denial of service is specially crafted untrusted input is passed as input. About 50k characters can block the event loop for 2 seconds.

Publish Date: 2018-06-07

URL: CVE-2017-16117

### CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/537

Release Date: 2018-06-07

Fix Resolution: 0.9.2

:rescue_worker_helmet: Automatic Remediation is available for this issue

:rescue_worker_helmet: Automatic Remediation is available for this issue.