langchain-ai/langchain · Security
Langchain OS Command Injection vulnerability
- GHSA ID
- GHSA-x32c-59v5-h7fg
- CVE ID
- CVE-2023-34540
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · 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
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.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- 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 ↗
- https://github.com/langchain-ai/langchain/pull/6992 ↗
- https://github.com/hwchase17/langchain/issues/4833 ↗
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.225 ↗
- https://github.com/advisories/GHSA-x32c-59v5-h7fg ↗