Intel

AIKIDO-2024-10221

haystack-ai is vulnerable to Remote Code Execution (RCE)

Remote Code Execution (RCE)CVE-2024-41950 Published Aug 15, 2024

35

Low Risk

This Affects:

pythonhaystack-ai
2.0.0 - 2.3.1
Fixed in 2.4.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Remote Code Execution (RCE) when using unsecure Jinja templates in dynamic prompt builders.

Who does this affect?

You are affected if you are using a version which is within vulnerability ranges and when you are using unsecure Jinja templates.

Background info

haystack-ai is vulnerable to Remote Code Execution (RCE) in versions 2.0.0 - 2.3.1.

How to fix this

Upgrade the haystack-ai library to the patch version.