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-h3xjJSON: 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:
- https://nvd.nist.gov/vuln/detail/CVE-2024-46946
- https://docs.sympy.org/latest/modules/codegen.html
- https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txt
- https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0
- https://github.com/advisories/GHSA-p2qj-r53j-h3xj
Blast Radius: 22.7
Affected Packages
pypi:langchain-experimental
Dependent packages: 51Dependent 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