CVE-2024-28244
CVSS 3.1 Score 6.5 of 10 (medium)
Details
Summary
CVE-2024-28244 is a vulnerability affecting KaTeX, a JavaScript library used for TeX math rendering on the web. Malicious input utilizing `\\def` or `\\newcommand` can trigger near-infinite loops, potentially causing memory exhaustion or stack overflow errors. KaTeX offers a preventative measure called maxExpand to avoid such loops. However, the vulnerability lies in the library's handling of Unicode (sub|super)script characters. Each sub/superscript group initializes a new Parser instance, allowing an attacker to bypass the maxExpand limit, leading to potential memory exhaustion or stack overflow. A fix for this issue is available in KaTeX version 0.16.10.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.