Advisory

GHSA-fj32-q626-pjjc

Also known as: CVE-2023-38860, PYSEC-2023-145

Summary

LangChain vulnerable to arbitrary code execution

Details

An issue in LangChain prior to v.0.0.247 allows a remote attacker to execute arbitrary code via the prompt parameter.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

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

Affected packages and fixes

langchain

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.247 (ecosystem)

Fixed versions

0.0.247

Fix

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

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