PyPi: Langchain

CVE-2023-36258

Safety vulnerability ID: 59294

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jul 03, 2023 Updated at Jun 14, 2024
Scan your Python projects for vulnerabilities →

Advisory

Langchain 0.0.236 includes a fix for CVE-2023-36258: Versions before 0.0.236 allow an attacker to execute arbitrary code via the PALChain in the python exec method.
https://github.com/langchain-ai/langchain/issues/5872
https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e

Affected package

langchain

Latest version: 0.2.5

Building applications with LLMs through composability

Affected versions

Fixed versions

Vulnerability changelog

An issue in langchain v.0.0.199 allows an attacker to execute arbitrary code via the PALChain in the python exec method. See CVE-2023-36258.


MISC:https://github.com/hwchase17/langchain/issues/5872: https://github.com/hwchase17/langchain/issues/5872

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.8

CVSS v3 Details

CRITICAL 9.8
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH