Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-hx9v-6r9f-w677: 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

ghsa
#vulnerability#mac#git#rce

Package

pip haystack-ai (pip)

Affected versions

< 2.3.1

Patched versions

2.3.1

Description

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

References

  • GHSA-hx9v-6r9f-w677
  • https://nvd.nist.gov/vuln/detail/CVE-2024-41950
  • deepset-ai/haystack#8095
  • deepset-ai/haystack#8096
  • deepset-ai/haystack@3fed136
  • deepset-ai/haystack@6c25a5c
  • https://github.com/deepset-ai/haystack/releases/tag/v2.3.1

silvanocerza published to deepset-ai/haystack

Jul 31, 2024

Published by the National Vulnerability Database

Jul 31, 2024

Published to the GitHub Advisory Database

Jul 31, 2024

Reviewed

Jul 31, 2024

Last updated

Jul 31, 2024

ghsa: Latest News

GHSA-27wf-5967-98gx: Kubernetes kubelet arbitrary command execution