Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wMnFqLXI1M2otaDN4as4AA_sB

LangChain Experimental Eval Injection vulnerability

langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).

Permalink: https://github.com/advisories/GHSA-p2qj-r53j-h3xj
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wMnFqLXI1M2otaDN4as4AA_sB
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 24 days ago
Updated: 24 days ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-p2qj-r53j-h3xj, CVE-2024-46946
References: Repository: https://github.com/langchain-ai/langchain
Blast Radius: 22.7

Affected Packages

pypi:langchain-experimental
Dependent packages: 51
Dependent repositories: 208
Downloads: 1,180,069 last month
Affected Version Ranges: >= 0.1.17, <= 0.3.0
No known fixed version
All affected versions: 0.3.0