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 problem has been fixed with PRs deepset-ai/haystack#8095 and deepset-ai/haystack#8096.
Both have been released with Haystack 2.3.1
.
Prevent users from running the affected Components, or only let users use preselected templates.
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
{ "nvd_published_at": "2024-07-31T16:15:04Z", "cwe_ids": [ "CWE-1336" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-07-31T18:50:41Z" }