logo

CVE-2023-29374 langchain

Package

Manager: pip
Name: langchain
Vulnerable Version: >=0 <=0.0.131

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01567 pctl0.8082

Details

LangChain vulnerable to code injection In LangChain through 0.0.131, the `LLMMathChain` chain allows prompt injection attacks that can execute arbitrary code via the Python `exec()` method.

Metadata

Created: 2023-04-05T03:30:17Z
Modified: 2025-02-12T18:33:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-fprp-p869-w6q2/GHSA-fprp-p869-w6q2.json
CWE IDs: ["CWE-74", "CWE-94"]
Alternative ID: GHSA-fprp-p869-w6q2
Finding: F184
Auto approve: 1