- Home
- Vulnerabilities
- CVE-2024-46946
CVE-2024-46946
langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to…
Medium
60/100
Summary
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).
Affected products and versions
Langchain (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Langchain experimental | from 0.1.17 (included) to 0.3.0 (included) |
— | NVD |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| langchain-experimental | from 0.1.17 (included) to 0.3.0 (included) |
— | GitHub Advisory |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-p2qj-r53j-h3xj — LangChain Experimental Eval Injection vulnerability 19 Sept 2024
References
- https://cwe.mitre.org/data/definitions/95.htmlNot Applicable
- https://docs.sympy.org/latest/modules/codegen.htmlWEB
- https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txtWEB
- https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-46946ADVISORY
- https://github.com/langchain-ai/langchainPACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2026-374.yamlWEB
- https://pypi.org/project/langchain-experimentalWEB
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)- Weakness
- CWE-20 · Validation d'entrée (générique)