Ondolin / website

The official website of Ondolin!
https://ondolin.de
GNU General Public License v3.0
0 stars 0 forks source link

vue-markdown-2.2.4.tgz: 3 vulnerabilities (highest severity is: 7.4) #3

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

mend-bolt-for-github[bot] commented 2 years ago
Vulnerable Library - vue-markdown-2.2.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/markdown-it/package.json

Found in HEAD commit: 32b67c67692f6675d372e4609d17196cdf1e0718

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
WS-2020-0101 High 7.4 markdown-it-katex-2.0.3.tgz Transitive N/A
CVE-2022-21670 Medium 5.3 markdown-it-6.1.1.tgz Transitive N/A
WS-2020-0208 Medium 5.3 highlight.js-9.18.5.tgz Transitive N/A

Details

WS-2020-0101 ### Vulnerable Library - markdown-it-katex-2.0.3.tgz

Fast math support for markdown-it with KaTeX

Library home page: https://registry.npmjs.org/markdown-it-katex/-/markdown-it-katex-2.0.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/markdown-it-katex/package.json

Dependency Hierarchy: - vue-markdown-2.2.4.tgz (Root Library) - :x: **markdown-it-katex-2.0.3.tgz** (Vulnerable Library)

Found in HEAD commit: 32b67c67692f6675d372e4609d17196cdf1e0718

Found in base branch: master

### Vulnerability Details

markdown-it-katex through 2.0.3 is vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape error messages, which may allow attackers to execute arbitrary JavaScript in a victim's browser by triggering an error.

Publish Date: 2020-05-20

URL: WS-2020-0101

### CVSS 3 Score Details (7.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with WhiteSource [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-21670 ### Vulnerable Library - markdown-it-6.1.1.tgz

Markdown-it - modern pluggable markdown parser.

Library home page: https://registry.npmjs.org/markdown-it/-/markdown-it-6.1.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/markdown-it/package.json

Dependency Hierarchy: - vue-markdown-2.2.4.tgz (Root Library) - :x: **markdown-it-6.1.1.tgz** (Vulnerable Library)

Found in HEAD commit: 32b67c67692f6675d372e4609d17196cdf1e0718

Found in base branch: master

### Vulnerability Details

markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characterss could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.

Publish Date: 2022-01-10

URL: CVE-2022-21670

### 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

Origin: https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c

Release Date: 2022-01-10

Fix Resolution: markdown-it - 12.3.2

Step up your Open Source Security Game with WhiteSource [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
WS-2020-0208 ### Vulnerable Library - highlight.js-9.18.5.tgz

Syntax highlighting with language autodetection.

Library home page: https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/highlight.js/package.json

Dependency Hierarchy: - vue-markdown-2.2.4.tgz (Root Library) - :x: **highlight.js-9.18.5.tgz** (Vulnerable Library)

Found in HEAD commit: 32b67c67692f6675d372e4609d17196cdf1e0718

Found in base branch: master

### Vulnerability Details

If are you are using Highlight.js to highlight user-provided data you are possibly vulnerable. On the client-side (in a browser or Electron environment) risks could include lengthy freezes or crashes... On the server-side infinite freezes could occur... effectively preventing users from accessing your app or service (ie, Denial of Service). This is an issue with grammars shipped with the parser (and potentially 3rd party grammars also), not the parser itself. If you are using Highlight.js with any of the following grammars you are vulnerable. If you are using highlightAuto to detect the language (and have any of these grammars registered) you are vulnerable.

Publish Date: 2020-12-04

URL: WS-2020-0208

### 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: Low - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/highlightjs/highlight.js/tree/10.4.1

Release Date: 2020-12-04

Fix Resolution: 10.4.1

Step up your Open Source Security Game with WhiteSource [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)