CVE-2023-34540.yaml
1 info: 2 name: langchain 3 cve: CVE-2023-34540 4 summary: Langchain OS Command Injection vulnerability 5 details: | 6 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. 7 cvss: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 8 severity: CRITICAL 9 security_advise: | 10 1. Upgrade to langchain>=0.0.225 11 2. Review and update all dependencies to ensure they are up-to-date and free from vulnerabilities 12 3. Implement input validation to prevent arbitrary code execution 13 rule: version < "0.0.225" 14 references: 15 - https://nvd.nist.gov/vuln/detail/CVE-2023-34540 16 - https://github.com/hwchase17/langchain/issues/4833 17 - https://github.com/langchain-ai/langchain/issues/4833 18 - https://github.com/langchain-ai/langchain/pull/6992 19 - https://github.com/langchain-ai/langchain/commit/a2f191a32229256dd41deadf97786fe41ce04cbb 20 - https://github.com/langchain-ai/langchain 21 - https://github.com/langchain-ai/langchain/releases/tag/v0.0.225 22 - https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-91.yaml