Katalog CVE

CVE-2026-33079

WysokieCVSS 7.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.52%

Percentyl 42 - wyżej niż 42% wszystkich znanych CVE

Streszczenie

W bibliotece Mistune w wersjach 3.0.0a1 do 3.2.0 występuje podatność ReDoS (Regular Expression Denial of Service) w wyrażeniu regularnym `LINK_TITLE_RE`. Nakładające się alternatywy w regexie mogą prowadzić do katastroficznego cofania się, co przy specjalnie spreparowanym wejściu Markdown powoduje ogromne zużycie CPU i unieruchomienie aplikacji.

Ocena ryzyka

Atakujący może dostarczyć złośliwy Markdown, który po przetworzeniu przez Mistune spowoduje przeciążenie serwera i odmowę usługi (DoS), uniemożliwiając działanie aplikacji.

Rekomendacja

Zaktualizuj bibliotekę Mistune do wersji 3.2.1 lub nowszej, która zawiera poprawkę dla tej podatności.

Inne podatności w Mistune

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In versions 3.0.0a1 through 3.2.0 of Mistune, there is a ReDoS (Regular Expression Denial of Service) vulnerability in `LINK_TITLE_RE` that allows an attacker who can supply Markdown for parsing to cause denial of service. The regular expression used for parsing link titles contains overlapping alternatives that can trigger catastrophic backtracking. In both the double-quoted and single-quoted branches, a backslash followed by punctuation can be matched either as an escaped punctuation sequence or as two ordinary characters, creating an ambiguous pattern inside a repeated group. If an attacker supplies Markdown containing repeated ! sequences with no closing quote, the regex engine explores an exponential number of backtracking paths. This is reachable through normal Markdown parsing of inline links and block link reference definitions. A small crafted input can therefore cause significant CPU consumption and make applications using Mistune unresponsive.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS