Docling упрощает обработку документов, анализируя различные форматы и обеспечивая интеграцию с генеративной экосистемой AI. От 2.83.0 до 2.131.0 класс KServeV2OcrModel, определенный в docling/models/stages/ocr/kserve_v2_ocr_model.py, отправляет изображения страниц на настроенную конечную точку без проверки настройки pipeline_options.enable_remote_services, даже если вызывающее устройство устанавливает этот контроль политики как ложный. Метод StandardPdfPipeline._make_ocr_model также не передает флаг на фабрику OCR, позволяя удаленную обработку OCR в конфигурациях, которые полагаются на отключение удаленных служб.
Назначение настраивается вызывающим абонентом, а не выбирается атакующим. Эта проблема исправлена в 2.131.0.
Показать оригинальное описание (EN)
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.83.0 until 2.131.0, the KServeV2OcrModel class defined in docling/models/stages/ocr/kserve_v2_ocr_model.py sends page images to its configured endpoint without checking the pipeline_options.enable_remote_services setting, even when the caller sets that policy control to false. The StandardPdfPipeline._make_ocr_model method also fails to pass the flag into the OCR factory, allowing remote OCR processing in configurations that rely on remote services being disabled. The destination is configured by the caller rather than selected by an attacker. This issue is fixed in 2.131.0.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Docling Docling
cpe:2.3:a:docling:docling:*:*:*:*:*:*:*:*
|
2.83.0
|
2.131.0
|