Description
Mathjax up to v2.7.9 was discovered to contain two Regular expression Denial of Service (ReDoS) vulnerabilities in MathJax.js via the components pattern and markdownPattern. NOTE: the vendor disputes this because the regular expressions are not applied to user input; thus, there is no risk.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | mathjax | No fix yet | — |
| Ubuntu 20.04 LTS | mathjax | No fix yet | — |
| Ubuntu 18.04 LTS | mathjax | No fix yet | — |
| Ubuntu 16.04 LTS | mathjax | No fix yet | — |
| Ubuntu 14.04 LTS | mathjax | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | mathjax | <= 2.7.9 | — | GHSA-v638-q856-grg8 |