Advisory

GHSA-92j5-3459-qgp4

Also known as: CVE-2023-38896, PYSEC-2023-146

Summary

LangChain vulnerable to arbitrary code execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-08-15 18:31 UTC
Modified
2024-09-27 21:48 UTC

Affected packages and fixes

langchain

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.236 (ecosystem)

Fixed versions

0.0.236

Fix

  • Fixed version 0.0.236
    pip install --upgrade langchain==0.0.236

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences