Advisory

GHSA-655w-fm8m-m478

Also known as: CVE-2023-46229, PYSEC-2023-205

Summary

LangChain Server Side Request Forgery vulnerability

Details

LangChain before 0.0.317 allows SSRF via document_loaders/recursive_url_loader.py because crawling can proceed from an external server to an internal server.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-19 06:30 UTC
Modified
2024-09-30 16:26 UTC

Affected packages and fixes

langchain

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.317 (ecosystem)

Fixed versions

0.0.317

Fix

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

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