GitHub Advisoryadvisory · PyPI

GHSA-92j5-3459-qgp4 LangChain vulnerable to arbitrary code execution

CRITICAL Published 2023-08-15 Modified 2024-09-27 Official page ↗
Aliases
CVE-2023-38896
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, CWE-94
Reviewed
2023-08-15

Affected packages

• PyPI langchain: < 0.0.236 → fixed in 0.0.236

Description

An issue in Harrison Chase langchain before version 0.0.236 allows a remote attacker to execute arbitrary code via the `from_math_prompt` and `from_colored_object_prompt` functions.

Related

Alias · CVE (1)

  • CVE-2023-38896 An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and… vulnerability

Weakness · CWE (2)

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

References