Vulnerability · Published Sep 1, 2023 · Assigned by mitre

CVE-2023-39631

Critical 9.8

In plain English

A critical-severity security flaw in the langchain package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.6%top 24.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlangchain0.0.308GHSA-f73w-4m7g-ch9x
PyPIlangchain0.0.308PYSEC-2023-162
PyPInumexpr2.8.5GHSA-f73w-4m7g-ch9x
PyPInumexpr2.8.5PYSEC-2023-163

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References