team-telnyx / webrtc

SDK for Telnyx's WebRTC platform
https://developers.telnyx.com/docs/v2/webrtc
MIT License
40 stars 20 forks source link

CVE-2021-21306 (High) detected in marked-1.2.9.tgz - autoclosed #156

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

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

CVE-2021-21306 - High Severity Vulnerability

Vulnerable Library - marked-1.2.9.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-1.2.9.tgz

Path to dependency file: webrtc/packages/js/package.json

Path to vulnerable library: webrtc/packages/js/node_modules/marked/package.json

Dependency Hierarchy: - typedoc-0.19.2.tgz (Root Library) - :x: **marked-1.2.9.tgz** (Vulnerable Library)

Found in HEAD commit: d4e23806dbd85d5d97ab6c23d80004af26a91007

Found in base branch: main

Vulnerability Details

Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.

Publish Date: 2021-02-08

URL: CVE-2021-21306

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/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96

Release Date: 2021-02-08

Fix Resolution: v2.0.0

DeividVeloso commented 3 years ago

For this issue, we need to update typedocs or change to another tool to generate our docs.

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.