Advisory

GHSA-x32c-59v5-h7fg

Also known as: CVE-2023-34540, PYSEC-2023-91

Summary

Langchain OS Command Injection vulnerability

Details

Langchain before v0.0.225 was discovered to contain a remote code execution (RCE) vulnerability in the component JiraAPIWrapper (aka the JIRA API wrapper). This vulnerability allows attackers to execute arbitrary code via crafted input. As noted in the "releases/tag" reference, a fix is available.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-06-14 15:30 UTC
Modified
2025-02-21 05:28 UTC

Affected packages and fixes

langchain

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.225 (ecosystem)

Fixed versions

0.0.225

Fix

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

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