GitHub Advisoryadvisory · PyPI

GHSA-prgp-w7vf-ch62 LangChain vulnerable to arbitrary code execution

CRITICAL Published 2023-08-15 Modified 2024-09-27 Official page ↗
Aliases
CVE-2023-39659
Ecosystem
PyPI
Packages
langchain
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-74
Reviewed
2023-08-15

Affected packages

• PyPI langchain: < 0.0.325 → fixed in 0.0.325

Description

An issue in langchain langchain-ai before version 0.0.325 allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.

Related

Alias · CVE (1)

  • CVE-2023-39659 An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the… vulnerability

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References