Lucene search

K
githubGitHub Advisory DatabaseGHSA-F73W-4M7G-CH9X
HistorySep 01, 2023 - 6:30 p.m.

Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library

2023-09-0118:30:41
CWE-94
GitHub Advisory Database
github.com
57
langchain
arbitrary code execution
numexpr
vulnerability
remote attacker
patch
optional dependency

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.011

Percentile

84.6%

An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library.

Patches: Released in v.0.0.308. numexpr dependency is optional for langchain.

Affected configurations

Vulners
Node
langchainlangchainRange<0.0.308
VendorProductVersionCPE
langchainlangchain*cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.011

Percentile

84.6%

Related for GHSA-F73W-4M7G-CH9X