ghsa-f73w-4m7g-ch9x
Vulnerability from github
Published
2023-09-01 18:30
Modified
2025-02-20 22:53
Severity ?
Summary
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
Details
An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.
Patches: Released in v.0.0.308. numexpr dependency is optional for langchain.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "langchain" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.0.308" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "PyPI", "name": "numexpr" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.8.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-39631" ], "database_specific": { "cwe_ids": [ "CWE-94" ], "github_reviewed": true, "github_reviewed_at": "2023-09-01T21:57:43Z", "nvd_published_at": "2023-09-01T16:15:08Z", "severity": "CRITICAL" }, "details": "An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.\n\nPatches: Released in v.0.0.308. numexpr dependency is optional for langchain.", "id": "GHSA-f73w-4m7g-ch9x", "modified": "2025-02-20T22:53:21Z", "published": "2023-09-01T18:30:41Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-39631" }, { "type": "WEB", "url": "https://github.com/langchain-ai/langchain/issues/8363" }, { "type": "WEB", "url": "https://github.com/pydata/numexpr/issues/442" }, { "type": "WEB", "url": "https://github.com/langchain-ai/langchain/pull/11302" }, { "type": "WEB", "url": "https://github.com/pydata/numexpr/commit/4b2d89cf14e75030d27629925b9998e1e91d23c7" }, { "type": "PACKAGE", "url": "https://github.com/langchain-ai/langchain" }, { "type": "WEB", "url": "https://github.com/langchain-ai/langchain/releases/tag/v0.0.308" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-162.yaml" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/numexpr/PYSEC-2023-163.yaml" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.