Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
98 items
The langchain RecursiveUrlLoader in libs/community, in langchain_community/document_loaders/recursive_url_loader.py, can be made to fetch URLs outside the start site. An attacker who controls the content at the crawled URL can add links to other hosts, such as https://example.completely.different/my_file.html, and the crawler downloads them even when prevent_outside=True is set.
Fix: Resolved in https://github.com/langchain-ai/langchain/pull/15559
GitHub Advisory DatabaseCVE-2024-23730 affects the OpenAPI and ChatGPT plugin loaders in LlamaHub (aka llama-hub) before 0.0.67. Because safe_load is not used for YAML, attackers can execute arbitrary code. NVD has not yet provided an assessment, and the weakness is listed as NVD-CWE-noinfo.
Fix: Fixed in 0.0.67. The source references the v0.0.67 CHANGELOG, a pull request commit (pull/841), and the v0.0.67 release tag as patch and release notes.
CVE-2023-32786 affects Langchain through 0.0.155. Prompt injection in that version allows an attacker to force the service to retrieve data from an arbitrary URL, which the source describes as providing SSRF and potentially injecting content into downstream tasks. NIST has not yet provided an NVD assessment.
LangChain versions before 0.0.247 are affected by a flaw in the SQL chain. Prompt injection allows an attacker to execute arbitrary code against the SQL service that the chain provides.
CVE-2023-46229 affects LangChain before 0.0.317. The flaw is in document_loaders/recursive_url_loader.py, which allows server-side request forgery because crawling can proceed from an external server to an internal server. The CWE is CWE-918, and NVD has not yet provided an assessment.
Fix: The source cites a patch commit (https://github.com/langchain-ai/langchain/commit/9ecb7240a480720ec9d739b3877a52f76098a2b8) and a pull request (https://github.com/langchain-ai/langchain/pull/11925), both tagged as…
CVE-2023-44467 affects langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306. An attacker can bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which pal_chain/base.py does not prohibit.
Fix: Reference: https://github.com/langchain-ai/langchain/commit/4c97a10bd0d9385cfee234a63b5bd826a295e483 (patch). Fixed in LangChain 0.0.306 or later.
NVD/CVE DatabaseCVE-2023-39631 affects LangChain-ai Langchain v0.0.245. A remote attacker can execute arbitrary code through the evaluate function in the numexpr library. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').
CVE-2023-36281 affects langchain v0.0.171. A remote attacker can execute arbitrary code by supplying a crafted JSON file to load_prompt, related to __subclasses__ or a template. The weakness is classified as CWE-94 (Improper Control of Generation of Code).
Fix: Fixed in v0.0.312, per the release tag referenced in the source (https://github.com/langchain-ai/langchain/releases/tag/v0.0.312).
NVD/CVE DatabaseCVE-2023-39659 affects langchain (langchain-ai) v.0.0.232 and earlier. A remote attacker can execute arbitrary code by sending a crafted script to the PythonAstREPLTool._run component. The source classifies the weakness as CWE-74, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
CVE-2023-38860 affects LangChain v.0.0.231. The source states that a remote attacker can execute arbitrary code through the prompt parameter. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection'), and NIST has not yet provided an assessment.
An issue in llama_index v0.7.13 and earlier lets a remote attacker execute arbitrary code through the `exec` parameter in the PandasQueryEngine function. The source describes the flaw and its impact but gives no further detail on exploitation conditions.
CVE-2023-36095 affects langchain v.0.0.194. An attacker can execute arbitrary code through the python exec calls in PALChain, reached via the functions from_math_prompt and from_colored_object_prompt. The weakness is classified as CWE-94, Improper Control of Generation of Code ('Code Injection').
CVE-2023-36189 is a SQL injection vulnerability in langchain before v0.0.247. A remote attacker can exploit it through the SQLDatabaseChain component to obtain sensitive information. The NVD has not yet provided an assessment, and the source lists CWE-89 as the weakness.
Fix: The source links a patch in the pull request at https://github.com/hwchase17/langchain/pull/6051, and its advisory references include the langchain-ai/langchain issue thread.
CVE-2023-36188 affects langchain v.0.0.64. A remote attacker can execute arbitrary code through the PALChain parameter in the Python exec method. The NIST NVD has not yet provided an assessment, and the weakness is classified as CWE-74, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Fix: The source references a patch at https://github.com/hwchase17/langchain/pull/6003, but it does not describe the fix, a fixed version or a workaround.
CVE-2023-36258 affects LangChain before 0.0.236. Because Python code using os.system, exec, or eval can be used, an attacker can execute arbitrary code. The NVD has not yet provided an assessment, and the source references GitHub issue 5872 and CWE-94 (Improper Control of Generation of Code).
CVE-2023-34541 affects Langchain 0.0.171, where the load_prompt function permits arbitrary code execution. The source names no preconditions, and NIST has not yet provided an NVD assessment. The entry was published on 06/20/2023 and last modified on 12/09/2024.
CVE-2023-34540 affects Langchain before v0.0.225. The flaw is a remote code execution (RCE) vulnerability in the JiraAPIWrapper component (aka the JIRA API wrapper), which lets attackers execute arbitrary code via crafted input. NIST has not yet provided an assessment.
Fix: The source states that a fix is available, referencing the releases/tag v0.0.225 page at https://github.com/langchain-ai/langchain/releases/tag/v0.0.225.
CVE-2023-29374 affects LangChain through 0.0.131. Its LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method. NIST has not yet provided an NVD assessment, and the weakness is classified as CWE-74.