Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-28243 (Medium) detected in katex-0.11.1.tgz #1642

Open
mend-bolt-for-github bot opened this issue Mar 31, 2024 · 0 comments
Open

CVE-2024-28243 (Medium) detected in katex-0.11.1.tgz #1642

mend-bolt-for-github bot opened this issue Mar 31, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2024-28243 - Medium Severity Vulnerability

Vulnerable Library - katex-0.11.1.tgz

Fast math typesetting for the web.

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

Path to dependency file: /pro-table/package.json

Path to vulnerable library: /pro-table/node_modules/katex/package.json

Dependency Hierarchy:

  • dumi-1.0.20.tgz (Root Library)
    • preset-dumi-1.0.20.tgz
      • katex-0.11.1.tgz (Vulnerable Library)

Found in HEAD commit: 50a539d66e7a2f790cf8a8d8d1471993698c9adc

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: GHSA-64fm-8hw2-v72w

Release Date: 2024-03-25

Fix Resolution: katex - 0.16.10


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants