critical9.8
CVE-2023-34540
Langchain OS Command Injection vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | langchain | < 0.0.225 | 0.0.225 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Langchain | Langchain | Version 0.0.171 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/hwchase17/langchain/issues/4833
- https://github.com/langchain-ai/langchain/pull/6992
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.225
- https://github.com/advisories/GHSA-x32c-59v5-h7fg
- https://nvd.nist.gov/vuln/detail/CVE-2023-34540
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml
- https://github.com/langchain-ai/langchain/commit/a2f191a32229256dd41deadf97786fe41ce04cbb
- https://github.com/langchain-ai/langchain/issues/4833