1.4.8
2 years ago
2 days ago
Known vulnerabilities in the langchain-core package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
langchain-core is a Building applications with LLMs through composability Affected versions of this package are vulnerable to Deserialization of Untrusted Data in the How to fix Deserialization of Untrusted Data? Upgrade | [,0.3.85)[1.0.0a1,1.3.3) |
langchain-core is a Building applications with LLMs through composability Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the template formatting. An attacker can access internal object fields or nested data by supplying specially crafted template strings that include attribute access or indexing expressions, which are evaluated during formatting. How to fix Improper Neutralization of Special Elements Used in a Template Engine? Upgrade | [,0.3.84)[0.4.0.dev0,1.2.28) |
langchain-core is a Building applications with LLMs through composability Affected versions of this package are vulnerable to Directory Traversal via the How to fix Directory Traversal? Upgrade | [,0.3.86)[0.4.0.dev0,1.2.22) |
langchain-core is a Building applications with LLMs through composability Affected versions of this package are vulnerable to Deserialization of Untrusted Data via the Common usages that enable this vulnerability are LLM response fields like Note:
This is only exploitable if deserialization occurs with How to fix Deserialization of Untrusted Data? Upgrade | [,0.3.81)[0.4.0.dev0,1.2.5) |
langchain-core is a Building applications with LLMs through composability Affected versions of this package are vulnerable to Template Injection in the prompt template system. An attacker can access internal Python object attributes by submitting specially crafted template strings to Note: The vulnerability specifically requires that applications accept template strings (the structure) from untrusted sources, not just template variables (the data). Most applications either do not use templates or else use hardcoded templates and are not vulnerable. How to fix Template Injection? Upgrade | [,0.3.80)[0.4.0.dev0,1.0.7) |