UBUNTU-CVE-2024-28244

Source
https://ubuntu.com/security/CVE-2024-28244
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28244.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-28244
Related
Published
2024-03-25T20:15:00Z
Modified
2024-10-15T14:14:09Z
Summary
[none]
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 \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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.8.3+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.8.3+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.10.2+dfsg-8
0.10.2+dfsg-9
0.10.2+dfsg-10
0.13.11+~cs6.0.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.10+~cs6.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.4+~cs6.1.0-1
0.16.10+~cs6.1.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}