CVE-2024-41950
Insecure Jinja2 templates rendered in Haystack Components can lead to RCE
Severity Score
7.5
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track*
*SSVC
Descriptions
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`.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track*
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2024-07-24 CVE Reserved
- 2024-07-31 CVE Published
- 2024-07-31 CVE Updated
- 2024-08-01 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
CAPEC
References (6)
URL | Tag | Source |
---|---|---|
https://github.com/deepset-ai/haystack/security/advisories/GHSA-hx9v-6r9f-w677 | X_refsource_confirm | |
https://github.com/deepset-ai/haystack/pull/8095 | X_refsource_misc | |
https://github.com/deepset-ai/haystack/pull/8096 | X_refsource_misc | |
https://github.com/deepset-ai/haystack/commit/3fed1366c448b02189851bf08166c1f6477a02b0 | X_refsource_misc | |
https://github.com/deepset-ai/haystack/commit/6c25a5c73e83aa32c3241ba84a5cbb3ac0e8a89e | X_refsource_misc | |
https://github.com/deepset-ai/haystack/releases/tag/v2.3.1 | X_refsource_misc |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Deepset-ai Search vendor "Deepset-ai" | Haystack Search vendor "Deepset-ai" for product "Haystack" | < 2.3.1 Search vendor "Deepset-ai" for product "Haystack" and version " < 2.3.1" | en |
Affected
|