UBUNTU-CVE-2024-28243

Source
https://ubuntu.com/security/CVE-2024-28243
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28243.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-28243
Upstream
Downstream
Related
Published
2024-03-25T20:15:00Z
Modified
2025-07-18T16:57:45Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
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 \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.

References

Affected packages

Ubuntu:22.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.13.11+~cs6.0.0-2?arch=source&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

Ubuntu:Pro:22.04:LTS / node-katex

Package

Name
node-katex
Purl
pkg:deb/ubuntu/node-katex@0.13.11+~cs6.0.0-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.13.11+~cs6.0.0-2ubuntu0.1~esm1

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

{
    "binaries": [
        {
            "binary_name": "fonts-katex",
            "binary_version": "0.13.11+~cs6.0.0-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "katex",
            "binary_version": "0.13.11+~cs6.0.0-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "libjs-katex",
            "binary_version": "0.13.11+~cs6.0.0-2ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}