Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-h59x-p739-982c

Опубликовано: 04 мар. 2024
Источник: github
Github: Прошло ревью

Описание

LangChain directory traversal vulnerability

LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution.

Пакеты

Наименование

langchain

pip
Затронутые версииВерсия исправления

< 0.0.339

0.0.339

Наименование

langchain-core

pip
Затронутые версииВерсия исправления

< 0.1.30

0.1.30

EPSS

Процентиль: 93%
0.1069
Средний

Связанные уязвимости

CVSS3: 8.1
nvd
почти 2 года назад

LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)

EPSS

Процентиль: 93%
0.1069
Средний