CVE-2023-34540: OS Command Injection
Langchain 0.0.171 is vulnerable to Arbitrary Code Execution.
Other sources
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.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/langchainto a version that resolves this vulnerability.Fixed in 0.0.225 - Upgrade
Upgrade
langchain/JiraAPIWrapperto a version that resolves this vulnerability.Fixed in 0.0.225
Event History
Frequently Asked Questions
What is CVE-2023-34540?
CVE-2023-34540 refers to a vulnerability in Langchain 0.0.171 that allows arbitrary code execution.
How severe is CVE-2023-34540?
CVE-2023-34540 has a severity score of 9.8 (Critical).
How does CVE-2023-34540 work?
CVE-2023-34540 works by exploiting a command injection vulnerability in the `jira.run()` command of Langchain 0.0.171.
What software versions are affected by CVE-2023-34540?
Versions up to but excluding 0.0.225 of Langchain are affected, as well as version 0.0.171.
Is there a fix available for CVE-2023-34540?
Yes, upgrading to version 0.0.225 of Langchain will fix the vulnerability.