videojs / videojs-playlist

Playlist plugin for videojs
Other
361 stars 123 forks source link

CVE-2020-7753 (High) detected in trim-0.0.1.tgz #223

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

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

CVE-2020-7753 - High Severity Vulnerability

Vulnerable Library - trim-0.0.1.tgz

Trim string whitespace

Library home page: https://registry.npmjs.org/trim/-/trim-0.0.1.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - doctoc-1.4.0.tgz (Root Library) - markdown-to-ast-6.0.9.tgz - remark-parse-5.0.0.tgz - :x: **trim-0.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 2895e8d79dd8b35533c48a02be2a14c46a8aff97

Found in base branch: main

Vulnerability Details

All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

Publish Date: 2020-10-27

URL: CVE-2020-7753

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://github.com/component/trim/pull/8

Release Date: 2020-10-27

Fix Resolution: trim - 0.0.3