Search for packages
| purl | pkg:pypi/langchain@0.2.2 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-964p-24u8-yucb
Aliases: CVE-2024-2965 PYSEC-2024-118 |
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. |
Affected by 1 other vulnerability. |
|
VCID-fdk5-mhqa-mqgw
Aliases: CVE-2024-7042 PYSEC-2024-114 |
A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database. |
Affected by 0 other vulnerabilities. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| This package is not known to fix vulnerabilities. | ||
| Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
|---|---|---|---|---|---|
| 2026-06-02T04:22:27.084656+00:00 | Pypa Importer | Affected by | VCID-fdk5-mhqa-mqgw | https://github.com/pypa/advisory-database/blob/main/vulns/langchain/PYSEC-2024-114.yaml | 38.6.0 |
| 2026-06-02T04:21:23.337966+00:00 | Pypa Importer | Affected by | VCID-964p-24u8-yucb | https://github.com/pypa/advisory-database/blob/main/vulns/langchain/PYSEC-2024-118.yaml | 38.6.0 |