INCIDENT MAP

Browse / Tool and Agent Misuse / CVE-2023-34540

Langchain OS Command Injection vulnerability

CVE-2023-34540 ยท 2023-06-14 critical

Class
Tool and Agent Misuse (filed by a model that read the advisory)
Technique
Code and command execution
Affected
langchain (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.7% chance of exploitation in 30 days

How it works, in short

Crafted input to the Jira API wrapper in older LangChain versions leads to arbitrary code execution. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.