Docling упрощает обработку документов, анализируя различные форматы и обеспечивая интеграцию с генеративной экосистемой AI. Начиная с 2.0.0 и заканчивая 2.131.0, электронные таблицы HTML, JATS, OpenDocument и BoxNote, включая docling/backend/html_backend.py, docling/backend/jats_backend.py и docling/backend/boxnote_backend.py, принимают значения атрибутов rowspan и colspan без верхней границы и выполняют циклы или выделяют табличную сетку, пропорциональную заявленному интервалу. Поэтому очень маленький документ может вызвать устойчивое использование CPU или выделение памяти в несколько гигабайт, и настройка document_timeout не прерывает один внутренний конверсионный вызов.
Экспорт через свойство TableData.grid может дополнительно материализовать негабаритную сетку. Эта проблема исправлена в 2.131.0.
Показать оригинальное описание (EN)
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.0.0 until 2.131.0, the HTML, JATS, OpenDocument spreadsheet, and BoxNote backends, including docling/backend/html_backend.py, docling/backend/jats_backend.py, and docling/backend/boxnote_backend.py, accept the rowspan and colspan attribute values without an upper bound and execute loops or allocate a table grid proportional to the declared span. A very small document can therefore cause sustained CPU use or multi-gigabyte memory allocation, and the document_timeout setting does not interrupt the single backend conversion call. Export through the TableData.grid property can further materialize the oversized grid. This issue is fixed in 2.131.0.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Docling Docling
cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*
|
2.0.0
|
2.131.0
|