CVE-2024-41950 HIGH

CVE-2024-41950: Insecure Jinja2 templates rendered in Haystack Components can lead to RCE

Vendor Deepset-Ai
Product haystack
Weakness CWE-1336
Published July 31, 2024
Last update July 31, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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`.

Key dates

02Disclosure timeline

July 31, 2024 CVE published
July 31, 2024 Record updated