Products
LangChain Experimental
- 0.1.17 - 0.3.0
Source
cve@mitre.org
Tags
CVE-2024-46946 details
Published : Sept. 19, 2024, 5:15 a.m.
Last Modified : Sept. 19, 2024, 2:35 p.m.
Last Modified : Sept. 19, 2024, 2:35 p.m.
Description
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).
CVSS Score
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9.8 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-20 | Improper Input Validation | The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Base Score
9.8
Exploitability Score
3.9
Impact Score
5.9
Base Severity
CRITICAL
Vector String : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
URL | Source |
---|---|
https://cwe.mitre.org/data/definitions/95.html | cve@mitre.org |
https://docs.sympy.org/latest/modules/codegen.html | cve@mitre.org |
https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txt | cve@mitre.org |
https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0 | cve@mitre.org |
This website uses the NVD API, but is not approved or certified by it.