kapseliboi / vimflowy

An open source productivity tool drawing inspiration from workflowy and vim
https://www.wuthejeff.com/vimflowy
MIT License
0 stars 0 forks source link

CVE-2024-28243 (Medium) detected in katex-0.12.0.tgz #98

Open mend-bolt-for-github[bot] opened 8 months ago

mend-bolt-for-github[bot] commented 8 months ago

CVE-2024-28243 - Medium Severity Vulnerability

Vulnerable Library - katex-0.12.0.tgz

Fast math typesetting for the web.

Library home page: https://registry.npmjs.org/katex/-/katex-0.12.0.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy: - :x: **katex-0.12.0.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\edef` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. This can be used as an availability attack, where e.g. a client rendering another user's KaTeX input will be unable to use the site due to memory overflow, tying up the main thread, or stack overflow. Upgrade to KaTeX v0.16.10 to remove this vulnerability.

Publish Date: 2024-03-25

URL: CVE-2024-28243

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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/KaTeX/KaTeX/security/advisories/GHSA-64fm-8hw2-v72w

Release Date: 2024-03-25

Fix Resolution: 0.16.10


Step up your Open Source Security Game with Mend here