CVE-2024-2965
Last modified
CVE-2024-2965 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langchain | Langchain | < 0.2.5 |
References
- https://huntr.com/bounties/90b0776d-9fa6-4841-aac4-09fde5918caeExploit, Third Party Advisory
- https://huntr.com/bounties/90b0776d-9fa6-4841-aac4-09fde5918caeExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-2965?
How severe is CVE-2024-2965?
How do I fix CVE-2024-2965?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-2964The Pocket News Generator plugin for WordPress is vulnerable…4.3
- CVE-2024-29640An issue in aliyundrive-webdav v.2.3.3 and before allows a r…9.8
- CVE-2024-29643An issue in croogo v.3.0.2 allows an attacker to perform Hos…9.1
- CVE-2024-29644Cross Site Scripting vulnerability in dcat-admin v.2.1.3 and…6.1
- CVE-2024-29645Buffer Overflow vulnerability in radarorg radare2 v.5.8.8 al…7.8
- CVE-2024-29646Buffer Overflow vulnerability in radarorg radare2 v.5.8.8 al…9.8
- CVE-2024-29650An issue in @thi.ng/paths v.5.1.62 and before allows a remot…9.8
- CVE-2024-29651A Prototype Pollution issue in API Dev Tools json-schema-ref…8.1
- CVE-2024-2966The Element Pack Elementor Addons (Header Footer, Template L…7.5
- CVE-2024-29660Cross Site Scripting vulnerability in DedeCMS v.5.7 allows a…5.3
- CVE-2024-29661A File Upload vulnerability in DedeCMS v5.7 allows a local a…9.8
- CVE-2024-29666Insecure Permissions vulnerability in Vehicle Monitoring pla…9.8
Are you affected by CVE-2024-2965?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
