
Cloud Vulnerability DB
A community-led vulnerabilities database
Langchain before version 0.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. The vulnerability was discovered in May 2023 and was patched in version 0.0.225 released in July 2023 (NVD, GitHub Release).
The vulnerability exists in the 'other' mode of the JiraAPIWrapper component, which directly pipelined user input into an exec() function without proper validation. The intended use of the 'other' mode was to cover Atlassian's API functionality that didn't have an existing interface. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD, GitHub Issue).
The vulnerability allows attackers to execute arbitrary system commands through the JiraAPIWrapper component. An attacker could exploit this to execute any command on the underlying system, potentially leading to full system compromise, unauthorized access, and data breaches (GitHub Issue).
The vulnerability has been fixed in Langchain version 0.0.225. The fix replaces the insecure exec() implementation with a getattr-based method for Jira functionality, which directly calls Atlassian's API subfunctions instead of executing arbitrary code. Users should upgrade to version 0.0.225 or later to address this vulnerability (GitHub PR, GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."