Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-hx9v-6r9f-w677

Опубликовано: 31 июл. 2024
Источник: github
Github: Прошло ревью
CVSS4: 7.7
CVSS3: 7.5

Описание

Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

Impact

Haystack clients that let their users create and run Pipelines from scratch are vulnerable to remote code executions.

Certain Components in Haystack use Jinja2 templates, if anyone can create and render that template on the client machine they run any code.

Patches

The problem has been fixed with PRs deepset-ai/haystack#8095 and deepset-ai/haystack#8096.

Both have been released with Haystack 2.3.1.

Workarounds

Prevent users from running the affected Components, or only let users use preselected templates.

References

The list of impacted Components can be found in the release notes for 2.3.1. https://github.com/deepset-ai/haystack/releases/tag/v2.3.1

Пакеты

Наименование

haystack-ai

pip
Затронутые версииВерсия исправления

< 2.3.1

2.3.1

EPSS

Процентиль: 81%
0.01568
Низкий

7.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-1336

Связанные уязвимости

CVSS3: 7.5
nvd
больше 1 года назад

Haystack is an end-to-end LLM framework that allows you to build applications powered by LLMs, Transformer models, vector search and more. Haystack clients that let their users create and run Pipelines from scratch are vulnerable to remote code executions. Certain Components in Haystack use Jinja2 templates, if anyone can create and render that template on the client machine they run any code. The vulnerability has been fixed with Haystack `2.3.1`.

EPSS

Процентиль: 81%
0.01568
Низкий

7.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-1336