Docling упрощает обработку документов, анализируя различные форматы и обеспечивая интеграцию с генеративной экосистемой AI. От 2.94.0 до 2.132.0, абоненты, которые выбирают LatexBackendOptions(tikz_engine="tectonic") вызывают docling/backend/latex/engines/tectonic.py для компиляции ненадежного тела TikZ и преамбулы документа, не ограничивая примитивы TeX, включая openin и openout. Искусственный ввод может считывать файлы, доступные конвертеру, и создавать или перезаписывать записываемые файлы, а опция tikz_engine_allow_shell_escape дополнительно позволяет выполнять команды оболочки через TeX.
Конфигурация по умолчанию, которая не включает рендеринг Tectonic, не затрагивается. Уязвимость исправлена в 2.132.0.
Показать оригинальное описание (EN)
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.94.0 until 2.132.0, callers that opt into LatexBackendOptions(tikz_engine="tectonic") invoke docling/backend/latex/engines/tectonic.py to compile an untrusted TikZ body and document preamble without restricting TeX file primitives including \openin and \openout. Crafted input can read files available to the converter and create or overwrite writable files, and enabling the tikz_engine_allow_shell_escape option additionally permits shell commands through TeX. The default configuration, which does not enable Tectonic rendering, is not affected. This vulnerability is fixed in 2.132.0.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Docling Docling
cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*
|
2.94.0
|
2.132.0
|