LangChain Experimental Python Library <= 0.0.14 (CVE-2023-44467)

critical Nessus Plugin ID 206977

Synopsis

A Python library installed on the remote host is affected by a vulnerability.

Description

LangChain is a framework for developing applications powered by large language models. langchain_experimental (aka LangChain Experimental) in LangChain <= 0.0.14 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to LangChain Experimental version 0.0.15 or later.

See Also

https://github.com/advisories/GHSA-gjjr-63x4-v8cq

http://www.nessus.org/u?fb012fde

Plugin Details

Severity: Critical

ID: 206977

File Name: langchain_experimental_python_lib_0_0_14.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/11/2024

Updated: 12/16/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-44467

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:langchain:langchain_experimental

Exploit Ease: No known exploits are available

Patch Publication Date: 10/9/2023

Vulnerability Publication Date: 10/9/2023

Reference Information

CVE: CVE-2023-44467