Katalog CVE

CVE-2026-55244

ŚrednieCVSS 5.0
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

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

Streszczenie

W ASTEVAL przed wersją 1.0.9 FROM_PY w asteval/astutils.py udostępnia BaseException, SystemExit, KeyboardInterrupt i GeneratorExit wyrażeniom ocenianym przez asteval.Interpreter.eval(), podczas gdy run() i eval() przechwytują tylko Exception. Gdy kontrolowane przez atakującego wyrażenie zgłosi jedną z tych klas, wyjątek omija mechanizmy bezpieczeństwa interpretera i propaguje się do aplikacji wywołującej, powodując odmowę usługi.

Ocena ryzyka

Usługa oceniająca niezaufane wyrażenia może zostać zakończona lub mieć zakłócone przetwarzanie sygnałów i procedur czyszczenia, co prowadzi do odmowy usługi.

Rekomendacja

Zaktualizuj ASTEVAL do wersji 1.0.9, która zawiera poprawkę rozwiązującą tę podatność.

Inne podatności w ASTEVAL

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

ASTEVAL is an evaluator of Python expressions and statements. Prior to 1.0.9, FROM_PY in asteval/astutils.py exposes BaseException, SystemExit, KeyboardInterrupt, and GeneratorExit to expressions evaluated by asteval.Interpreter.eval(), while run() and eval() in asteval/asteval.py catch Exception rather than these non-Exception BaseException subclasses. When an attacker-controlled expression raises one of these classes, on_raise() passes the class to raise_exception(), and the resulting exception bypasses the interpreter's safety handlers and propagates into the calling application. A consuming service that evaluates untrusted expressions can therefore be terminated or have signal and cleanup handling disrupted, causing denial of service. The separately documented read-only open() capability is not part of this vulnerability. This issue is fixed in version 1.0.9.

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