Lookup for vulnerabilities affecting packages.
| Vulnerability_id | VCID-ayrg-3d9c-nbe2 |
| Summary | KaTeX's maxExpand bypassed by Unicode sub/superscripts
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. 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. |
| Aliases |
| 0 |
|
| 1 |
| alias |
GHSA-cvr6-37gx-v8wc |
|
|
| Fixed_packages |
|
| Affected_packages |
|
| References |
|
| Weaknesses |
| 0 |
| cwe_id |
606 |
| name |
Unchecked Input for Loop Condition |
| description |
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping. |
|
| 1 |
| cwe_id |
937 |
| name |
OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities |
| description |
Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013. |
|
| 2 |
| cwe_id |
1035 |
| name |
OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities |
| description |
Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017. |
|
| 3 |
| cwe_id |
674 |
| name |
Uncontrolled Recursion |
| description |
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. |
|
|
| Exploits |
|
| Severity_range_score | 4.0 - 6.9 |
| Exploitability | 0.5 |
| Weighted_severity | 6.2 |
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/vulnerabilities/VCID-ayrg-3d9c-nbe2 |