rtdip / core

Easy access to high volume, historical and real time process data for analytics applications, engineers, and data scientists wherever they are.
Apache License 2.0
42 stars 22 forks source link

langchain_community-0.2.1-py3-none-any.whl: 1 vulnerabilities (highest severity is: 4.2) - autoclosed #761

Closed mend-bolt-for-github[bot] closed 3 weeks ago

mend-bolt-for-github[bot] commented 1 month ago
Vulnerable Library - langchain_community-0.2.1-py3-none-any.whl

Path to dependency file: /tmp/ws-ua_20240531102842_REUHLY/cmd_NOZLKE/20240531103407/.ws-temp-ORKFAQ-requirements.txt

Path to vulnerable library: /tmp/ws-ua_20240531102842_REUHLY/cmd_NOZLKE/20240531103407/.ws-temp-ORKFAQ-requirements.txt

Found in HEAD commit: fd25f8b654a14d4f2bf79da5b0c001061f2ab6c1

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (langchain_community version) Remediation Possible**
CVE-2024-2965 Medium 4.2 langchain-0.2.1-py3-none-any.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-2965 ### Vulnerable Library - langchain-0.2.1-py3-none-any.whl

Building applications with LLMs through composability

Library home page: https://files.pythonhosted.org/packages/ff/39/62b8d2eb468a3b924c6bd1e411ef969c340130f4833abee35c15f0df421b/langchain-0.2.1-py3-none-any.whl

Path to dependency file: /tmp/ws-ua_20240531102842_REUHLY/cmd_NOZLKE/20240531103407/.ws-temp-ORKFAQ-requirements.txt

Path to vulnerable library: /tmp/ws-ua_20240531102842_REUHLY/cmd_NOZLKE/20240531103407/.ws-temp-ORKFAQ-requirements.txt

Dependency Hierarchy: - langchain_community-0.2.1-py3-none-any.whl (Root Library) - :x: **langchain-0.2.1-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: fd25f8b654a14d4f2bf79da5b0c001061f2ab6c1

Found in base branch: develop

### Vulnerability Details

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.

Publish Date: 2024-06-06

URL: CVE-2024-2965

### CVSS 3 Score Details (4.2)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Physical - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 3 weeks ago

:heavy_check_mark: 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.