OSWeekends / agenda

🎉 Agenda del evento 🎊
https://agenda.osweekends.com/
GNU General Public License v3.0
12 stars 19 forks source link

WS-2020-0208 (Medium) detected in highlight.js-9.18.3.tgz #118

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

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

WS-2020-0208 - Medium Severity Vulnerability

Vulnerable Library - highlight.js-9.18.3.tgz

Syntax highlighting with language autodetection.

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

Path to dependency file: agenda/package.json

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

Dependency Hierarchy: - cli-service-3.12.1.tgz (Root Library) - cli-highlight-2.1.4.tgz - :x: **highlight.js-9.18.3.tgz** (Vulnerable Library)

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

baumannzone commented 3 years ago

please @all-contributors add @baumannzone for code, infra, content, design, maintenance

allcontributors[bot] commented 3 years ago

@baumannzone

I've put up a pull request to add @baumannzone! :tada:

baumannzone commented 3 years ago

please @all-contributors add @thamaragerigr for code, design, maintenance

allcontributors[bot] commented 3 years ago

@baumannzone

I've put up a pull request to add @thamaragerigr! :tada: