Advisory

PYSEC-2023-162

Also known as: CVE-2023-39631, GHSA-f73w-4m7g-ch9x, PYSEC-2023-163

Summary

The record has no summary.

Details

An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2023-09-01 16:15 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

langchain

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.308 (ecosystem)

Fixed versions

0.0.308

Fix

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

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: PyPA Advisory Database · CC BY 4.0

Sources & licences