Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-28243— KaTeX's maxExpand bypassed by \edef

Quick assessment

Affected
KaTeX KaTeX
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

KaTeX是一个快速、易于使用的 JavaScript 库,用于在网络上进行 TeX 数学渲染。 KaTeX v0.16.10 版本之前存在安全漏洞,该漏洞源于渲染不受信任的数学表达式的 KaTeX 用户可能会遇到使用 edef 的恶意输入,可能导致近乎无限的循环。

CVSS 6.5 · Medium EPSS 1.41% · P71

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-28243

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
KaTeX's maxExpand bypassed by \edef
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5
Vulnerability Title
KaTeX 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
KaTeX是一个快速、易于使用的 JavaScript 库,用于在网络上进行 TeX 数学渲染。 KaTeX v0.16.10 版本之前存在安全漏洞,该漏洞源于渲染不受信任的数学表达式的 KaTeX 用户可能会遇到使用 edef 的恶意输入,可能导致近乎无限的循环。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
KaTeX KaTeX >= 0.12.0, < 0.16.10 -

II. Public POCs for CVE-2024-28243

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-28243

登录查看更多情报信息。

Patches & Fixes for CVE-2024-28243 (1)

Vendor Advisories for CVE-2024-28243 (1)

Same Patch Batch · KaTeX · 2024-03-25 · 4 CVEs total

CVE-2024-28244 6.5 MEDIUM KaTeX's maxExpand bypassed by Unicode sub/superscripts
CVE-2024-28245 6.3 MEDIUM KaTeX's \includegraphics does not escape filename
CVE-2024-28246 5.5 MEDIUM KaTeX is missing normalization of the protocol in URLs allows bypassing forbidden protocol

IV. Related Vulnerabilities

V. Comments for CVE-2024-28243

No comments yet


Leave a comment