PT-2023-4194 · Langchain · Langchain

·

CVE-2023-36189

·

Published

2023-06-06

·

Updated

2024-10-15

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions LangChain versions prior to 0.0.247
Description The issue is related to a SQL injection vulnerability that allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component. This vulnerability is due to the lack of protection measures for the SQL query structure, which can be exploited by an attacker to gain unauthorized access to protected information.
Recommendations For versions prior to 0.0.247, update to version 0.0.247 or later to resolve the issue. As a temporary workaround, consider restricting access to the SQLDatabaseChain component to minimize the risk of exploitation.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2023-04509
CVE-2023-36189
GHSA-7Q94-QPJR-XPGM
PYSEC-2023-110

Affected Products

Langchain