CVE-2023-34540
CRITICAL9.8EPSS 1.9%Langchain OS Command Injection vulnerability
Published: 6/14/2023Modified: 2/21/2025
Description
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 (2)
- PyPI/langchainfrom 0, < 0.0.225
- PyPI/langchainfrom 0, < 0.0.225
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-34540
- PATCHhttps://github.com/langchain-ai/langchain
- WEBhttps://github.com/hwchase17/langchain/issues/4833
- WEBhttps://github.com/langchain-ai/langchain/commit/a2f191a32229256dd41deadf97786fe41ce04cbb
- WEBhttps://github.com/langchain-ai/langchain/issues/4833
- WEBhttps://github.com/langchain-ai/langchain/pull/6992
- WEBhttps://github.com/langchain-ai/langchain/releases/tag/v0.0.225
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml