CVE-2023-38860
CRITICAL9.8EPSS 1.8%LangChain vulnerable to arbitrary code execution
Published: 8/15/2023Modified: 9/27/2024
Description
An issue in LangChain prior to v.0.0.247 allows a remote attacker to execute arbitrary code via the prompt parameter.
Affected packages (2)
- PyPI/langchainfrom 0, < 0.0.247
- PyPI/langchainfrom 0, < 0.0.247
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-38860
- PATCHhttps://github.com/hwchase17/langchain
- WEBhttps://github.com/hwchase17/langchain/issues/7641
- WEBhttps://github.com/langchain-ai/langchain/commit/d353d668e4b0514122a443cef91de7f76fea4245
- WEBhttps://github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751
- WEBhttps://github.com/langchain-ai/langchain/issues/7641
- WEBhttps://github.com/langchain-ai/langchain/pull/8092
- WEBhttps://github.com/langchain-ai/langchain/pull/8425
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-145.yaml