You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the import, subclasses, builtins, globals, getattribute, bases, mro, or base attribute in Python code. These are not prohibited by pal_chain/base.py.
An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This is related to subclasses or a template.
An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.
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.
In Langchain through 0.0.155, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting content into downstream tasks.
LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)
langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.
A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side request forgery. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.0.27 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-255372.
A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data. This could potentially lead to arbitrary code execution, depending on the nature of the local services. The vulnerability is limited to GET requests, as POST requests are not possible, but the impact on confidentiality, integrity, and availability is significant due to the potential for stolen credentials and state-changing interactions with internal APIs.
A Denial-of-Service (DoS) vulnerability exists in the SitemapLoader class of the langchain-ai/langchain repository, affecting all versions. The parse_sitemap method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.
An attacker in control of the contents of https://example.com could place a malicious HTML file in there with links like "https://example.completely.different/my_file.html" and the crawler would proceed to download that file as well even though prevent_outside=True.
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 1 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 2 vulnerabilities (highest severity is: 9.8)
Jun 18, 2023
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 2 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 3 vulnerabilities (highest severity is: 9.8)
Jun 23, 2023
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 3 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 6 vulnerabilities (highest severity is: 9.8)
Jul 27, 2023
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 6 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 7 vulnerabilities (highest severity is: 9.8)
Aug 7, 2023
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 7 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 10 vulnerabilities (highest severity is: 9.8)
Aug 27, 2023
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 10 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 12 vulnerabilities (highest severity is: 9.8)
Dec 27, 2023
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 12 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 13 vulnerabilities (highest severity is: 9.8)
Mar 14, 2024
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 13 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 16 vulnerabilities (highest severity is: 9.8)
Mar 17, 2024
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 16 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 17 vulnerabilities (highest severity is: 9.8)
Apr 22, 2024
mend-bolt-for-githubbot
changed the title
langchain-0.0.27-py3-none-any.whl: 17 vulnerabilities (highest severity is: 9.8)
langchain-0.0.27-py3-none-any.whl: 19 vulnerabilities (highest severity is: 9.8)
Jun 10, 2024
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-27444
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the import, subclasses, builtins, globals, getattribute, bases, mro, or base attribute in Python code. These are not prohibited by pal_chain/base.py.
Publish Date: 2024-02-26
URL: CVE-2024-27444
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-27444
Release Date: 2024-02-26
Fix Resolution: 0.1.8
Step up your Open Source Security Game with Mend here
CVE-2023-39659
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to execute arbitrary code via a crafted script to the PythonAstREPLTool._run component.
Publish Date: 2023-08-15
URL: CVE-2023-39659
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-prgp-w7vf-ch62
Release Date: 2023-08-15
Fix Resolution: 0.0.325
Step up your Open Source Security Game with Mend here
CVE-2023-39631
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.
Publish Date: 2023-09-01
URL: CVE-2023-39631
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-f73w-4m7g-ch9x
Release Date: 2023-09-01
Fix Resolution: 0.0.308
Step up your Open Source Security Game with Mend here
CVE-2023-38860
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.
Publish Date: 2023-08-15
URL: CVE-2023-38860
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-38860
Release Date: 2023-08-15
Fix Resolution: 0.0.232
Step up your Open Source Security Game with Mend here
CVE-2023-36281
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This is related to subclasses or a template.
Publish Date: 2023-08-22
URL: CVE-2023-36281
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-7gfq-f96f-g85j
Release Date: 2023-08-22
Fix Resolution: 0.0.312
Step up your Open Source Security Game with Mend here
CVE-2023-36258
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.
Publish Date: 2023-07-03
URL: CVE-2023-36258
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-36258
Release Date: 2023-07-03
Fix Resolution: 0.0.200
Step up your Open Source Security Game with Mend here
CVE-2023-36188
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in langchain v.0.0.64 allows a remote attacker to execute arbitrary code via the PALChain parameter in the Python exec method.
Publish Date: 2023-07-06
URL: CVE-2023-36188
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-36188
Release Date: 2023-07-06
Fix Resolution: 0.0.65
Step up your Open Source Security Game with Mend here
CVE-2023-36095
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.
Publish Date: 2023-08-05
URL: CVE-2023-36095
CVSS 3 Score Details (9.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2023-36095
Release Date: 2023-08-05
Fix Resolution: 0.0.236
Step up your Open Source Security Game with Mend here
CVE-2023-34541
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
Langchain 0.0.171 is vulnerable to Arbitrary code execution in load_prompt.
Publish Date: 2023-06-20
URL: CVE-2023-34541
CVSS 3 Score Details (9.8)
Base Score Metrics:
Step up your Open Source Security Game with Mend here
CVE-2023-34540
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2023-06-14
URL: CVE-2023-34540
CVSS 3 Score Details (9.8)
Base Score Metrics:
Step up your Open Source Security Game with Mend here
CVE-2023-29374
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
In LangChain through 0.0.131, the LLMMathChain chain allows prompt injection attacks that can execute arbitrary code via the Python exec method.
Publish Date: 2023-04-05
URL: CVE-2023-29374
CVSS 3 Score Details (9.8)
Base Score Metrics:
Step up your Open Source Security Game with Mend here
CVE-2023-36189
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.
Publish Date: 2023-07-06
URL: CVE-2023-36189
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-36189
Release Date: 2023-07-06
Fix Resolution: 0.0.266
Step up your Open Source Security Game with Mend here
CVE-2023-32786
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
In Langchain through 0.0.155, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting content into downstream tasks.
Publish Date: 2023-10-20
URL: CVE-2023-32786
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-32786
Release Date: 2023-10-20
Fix Resolution: 0.0.156
Step up your Open Source Security Game with Mend here
CVE-2024-28088
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)
Publish Date: 2024-03-04
URL: CVE-2024-28088
CVSS 3 Score Details (7.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2024-03-04
Fix Resolution: 0.1.12
Step up your Open Source Security Game with Mend here
CVE-2024-3571
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.
Publish Date: 2024-04-16
URL: CVE-2024-3571
CVSS 3 Score Details (6.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-3571
Release Date: 2024-04-16
Fix Resolution: 0.0.353
Step up your Open Source Security Game with Mend here
CVE-2024-2057
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side request forgery. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.0.27 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-255372.
Publish Date: 2024-03-01
URL: CVE-2024-2057
CVSS 3 Score Details (6.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2024-03-01
Fix Resolution: 0.1.12
Step up your Open Source Security Game with Mend here
CVE-2024-3095
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data. This could potentially lead to arbitrary code execution, depending on the nature of the local services. The vulnerability is limited to GET requests, as POST requests are not possible, but the impact on confidentiality, integrity, and availability is significant due to the potential for stolen credentials and state-changing interactions with internal APIs.
Publish Date: 2024-06-06
URL: CVE-2024-3095
CVSS 3 Score Details (4.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-3095
Release Date: 2024-06-06
Fix Resolution: 0.1.6
Step up your Open Source Security Game with Mend here
CVE-2024-2965
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
A Denial-of-Service (DoS) vulnerability exists in the
SitemapLoader
class of thelangchain-ai/langchain
repository, affecting all versions. Theparse_sitemap
method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.Publish Date: 2024-06-06
URL: CVE-2024-2965
CVSS 3 Score Details (4.2)
Base Score Metrics:
Step up your Open Source Security Game with Mend here
CVE-2024-0243
Vulnerable Library - langchain-0.0.27-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/1f/fd/f2aa39f8e63a6fbacf2e7be820b846c27b1e5830af9c2e2e208801b6c07f/langchain-0.0.27-py3-none-any.whl
Path to dependency file: /source/native-addon-python/requirements.txt
Path to vulnerable library: /source/native-addon-python/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 3bd3e0c1b8b653b4b06dbb52ddc9400b40cdb5ec
Found in base branch: master
Vulnerability Details
With the following crawler configuration:
An attacker in control of the contents of
https://example.com
could place a malicious HTML file in there with links like "https://example.completely.different/my_file.html" and the crawler would proceed to download that file as well even thoughprevent_outside=True
.https://github.com/langchain-ai/langchain/blob/bf0b3cc0b5ade1fb95a5b1b6fa260e99064c2e22/libs/community/langchain_community/document_loaders/recursive_url_loader.py#L51-L51
Resolved in langchain-ai/langchain#15559
Publish Date: 2024-02-26
URL: CVE-2024-0243
CVSS 3 Score Details (3.7)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Release Date: 2024-02-26
Fix Resolution: 0.1.0
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: