-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
langchain-0.0.198-py3-none-any.whl: 16 vulnerabilities (highest severity is: 9.8) #2
Comments
✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory. |
ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory. |
✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory. |
ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory. |
✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory. |
ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory. |
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
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.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-39659
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-39631
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-38860
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-36281
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-36258
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-36095
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2023-34541
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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:
CVE-2023-34540
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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:
CVE-2023-36189
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-28088
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-3571
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-2057
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-3095
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2024-2965
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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:
CVE-2024-0243
Vulnerable Library - langchain-0.0.198-py3-none-any.whl
Building applications with LLMs through composability
Library home page: https://files.pythonhosted.org/packages/75/fd/f771d8d2f5c30e7dcf076e0c7ca51e738eeda52ec009a63030b88859af32/langchain-0.0.198-py3-none-any.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 7a74fb1544b454fc49e6f326bd0dc6fab348d3e1
Found in base branch: main
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
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.
The text was updated successfully, but these errors were encountered: