CVE-2024-2965
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 22% of all known CVEs.
References
Related Vulnerabilities
Other CWE-674 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2021-45105 | Medium | 5.9 | 100% | - | Fix |
| CVE-2024-25111 | High | 8.6 | 65% | - | Fix |
| CVE-2023-50269 | High | 8.6 | 58% | - | Fix |
| CVE-2021-42697 | High | 7.5 | 36% | - | Fix |
| CVE-2018-0739 | Medium | 6.5 | 19% | - | Fix |
| CVE-2007-1285 | High | 7.5 | 18% | - | Fix |
Embed a live status badge for CVE-2024-2965
Markdown
[](https://tridentstack.com/cve/CVE-2024-2965)HTML
<a href="https://tridentstack.com/cve/CVE-2024-2965"><img src="https://tridentstack.com/cve/badge/CVE-2024-2965.svg" alt="CVE-2024-2965"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.