GHSA-p2qj-r53j-h3xj

Suggest an improvement
Source
https://github.com/advisories/GHSA-p2qj-r53j-h3xj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-p2qj-r53j-h3xj/GHSA-p2qj-r53j-h3xj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p2qj-r53j-h3xj
Aliases
Published
2024-09-19T06:31:36Z
Modified
2024-09-19T18:42:58.200753Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
LangChain Experimental Eval Injection vulnerability
Details

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).

Database specific
{
    "nvd_published_at": "2024-09-19T05:15:11Z",
    "cwe_ids": [
        "CWE-95"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-19T18:23:47Z"
}
References

Affected packages

PyPI / langchain-experimental

Package

Name
langchain-experimental
View open source insights on deps.dev
Purl
pkg:pypi/langchain-experimental

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.1.17
Last affected
0.3.0

Affected versions

0.*

0.3.0.dev1
0.3.0