SCA: security update for katex (GHSA-cvr6-37gx-v8wc)

medium Tenable Cloud Security Plugin ID 414115

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted
mathematical expressions could encounter malicious input using `\def` or `\newcommand` that causes a near-
infinite loop, despite setting `maxExpand` to avoid such loops. KaTeX supports an option named maxExpand
which aims to prevent infinitely recursive macros from consuming all available memory and/or triggering a
stack overflow error. Unfortunately, support for "Unicode (sub|super)script characters" allows an attacker
to bypass this limit. Each sub/superscript group instantiated a separate Parser with its own limit on
macro executions, without inheriting the current count of macro executions from its parent. This has been
corrected in KaTeX v0.16.10. (CVE-2024-28244)

See Also

https://github.com/advisories/GHSA-cvr6-37gx-v8wc

Plugin Details

Severity: Medium

ID: 414115

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.5

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2024-28244

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/25/2024

Vulnerability Publication Date: 3/25/2024

Reference Information

CVE: CVE-2024-28244