swagger-api / apidom

Semantic parser for API specifications
https://swagger-api.github.io/apidom/
68 stars 17 forks source link

CVE-2021-35065 (High) detected in glob-parent-5.1.2.tgz #1042

Closed mend-for-github-com[bot] closed 2 years ago

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

CVE-2021-35065 - High Severity Vulnerability

Vulnerable Library - glob-parent-5.1.2.tgz

Extract the non-magic parent path from a glob string.

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz

Dependency Hierarchy: - cli-7.16.0.tgz (Root Library) - chokidar-3.5.2.tgz - :x: **glob-parent-5.1.2.tgz** (Vulnerable Library)

Found in HEAD commit: 5a4ff2ebdd6c0d713bd25695efa585a544192ebb

Found in base branch: main

Vulnerability Details

The package glob-parent before 6.0.1 are vulnerable to Regular Expression Denial of Service (ReDoS)

Publish Date: 2021-06-22

URL: CVE-2021-35065

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/gulpjs/glob-parent/pull/49

Release Date: 2021-06-22

Fix Resolution: glob-parent - 6.0.1

char0n commented 2 years ago

This is security issue in our dev dependency that has no effect to our production code.