Improper Control of Generation of Code ('Code Injection') Affecting haystack-ai package, versions [,2.3.1)
Threat Intelligence
EPSS
0.04% (12th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-HAYSTACKAI-7577230
- published 1 Aug 2024
- disclosed 31 Jul 2024
- credit Unknown
Introduced: 31 Jul 2024
CVE-2024-41950 Open this link in a new tabHow to fix?
Upgrade haystack-ai
to version 2.3.1 or higher.
Overview
haystack-ai is a LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.
Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') through the rendering of user-supplied Jinja2 templates.