PT-2023-25499 · Langchain · Langchain

Lyutoon

·

Publicado

2023-07-03

·

Atualizado

2025-04-14

·

CVE-2023-36258

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions LangChain versions prior to 0.0.236
Description The issue allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used. This is possible via the PALChain in the python exec method.
Recommendations For versions prior to 0.0.236, update to version 0.0.236 or later to resolve the issue. As a temporary workaround, consider disabling the use of exec method in the PALChain until a patch is available. Restrict access to the os.system, exec, and eval functions to minimize the risk of exploitation.

Exploit

Correção

Code Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-36258
GHSA-2QMJ-7962-CJQ8
PYSEC-2023-98

Produtos afetados

Langchain