PYSEC-2024-115

Retiré ·

En bref

Publiée
Mise à jour
CVE
CVE-2024-8309
Alias
GHSA-45pg-36p6-83v9, PYSEC-2026-1507
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain-community version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to 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.

Paquets affectés

PaquetVersions
PyPI · langchainintroduced 0, fixed c2a3021bb0c5f54649d380b42a0684ca5778c255 ; introduced 0, fixed 0.2.0
PyPI · langchain-communityintroduced 0.2.0, fixed 0.3.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database